grok_exporter
grok_exporter copied to clipboard
grok fails on insufficient permissions when fail_on_missing_logfile is false
Hi!
I have noticed that grok exporter fails, when files to analyze have insufficient permissions:
grok_exporter: error reading log lines: /XXXYYY/log20221121.log: open: open /XXXYYY/log20221121.log: operation not permitted
At the same time, in our setup the config option fail_on_missing_logfile is unset.
I was wondering if grok could proceed with other files, as if the file was just missing. Such interpretation of the fail_on_missing_logfile option seems consistent.