-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Live reload config files without restarting filebeat process #2043
Comments
It would probably be better to reload, like nginx with something like Although logstash, for ex., uses automatic reload https://www.elastic.co/guide/en/logstash/current/reloading-config.html |
I'm working with microservices architecture and restarting the filebeat process is a big pain to me, |
Does every service need its own config / prospector? Or do you know all of them in advance and could provide all the prospectors on first start? |
knowing all services in advance is a bad practice since i have multiple machine types, each type runs a different set of services. each machine may run different services even with the same machine type. |
@ruflin - great to see that i am useful - also great to see that u hear community feedback! great product - i tend to use it in production for streaming messages to Kafka un huge scale. |
hi guys, may i know the latest progress of this feature? |
@aqiao Interesting timing. There is not directly a filebeat update but I just pushed this PR here: #3281 This could be reused for filebeat prospectors in the future. It's a little bit trickier for filebeat as it must be ensured that a file is only harvested once and brings up the question when exactly a harvester should shut down ... |
Closing as #3362 was merged to master. This allows to dynamically reload prospectors. |
@ruflin thanks for this feature! |
Based on discussion opening enhancement feature request.
https://discuss.elastic.co/t/reload-if-modification-time-changes-in-config-files/55556
The text was updated successfully, but these errors were encountered: