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 exporter should be able to start if file does not exist #23

Closed
roidelapluie opened this issue Nov 9, 2017 · 3 comments
Closed

Comments

@roidelapluie
Copy link
Contributor

No description provided.

@roidelapluie roidelapluie changed the title grok exporter shouldb e ablei to start if file does not exist grok exporter should be able to start if file does not exist Nov 9, 2017
@roidelapluie
Copy link
Contributor Author

If a file does not exist, the grok export should start. Thet it would wait with inotify for file to be present.

I propose a new metric as well: grok_pen_files_count (gauge)

@fstab
Copy link
Owner

fstab commented Nov 14, 2017

This is definitely useful. I think it should be configurable. Maybe it is still good to keep the current behaviour as default, because if the log file is missing it is very likely a configuration error.

@fstab
Copy link
Owner

fstab commented Nov 25, 2017

I implemented a new config option for the input section:

fail_on_missing_logfile: false

It's not released and documented yet, but it's pushed to the master branch. The grok_pending_files_count metric is still missing.

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

2 participants