Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grok fails on insufficient permissions when fail_on_missing_logfile is false #182

Open
wkhere opened this issue Nov 28, 2022 · 0 comments
Open

Comments

@wkhere
Copy link

wkhere commented Nov 28, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant