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

please add option use filebeat reload prospectors #145

Open
lied opened this issue Dec 4, 2017 · 3 comments
Open

please add option use filebeat reload prospectors #145

lied opened this issue Dec 4, 2017 · 3 comments

Comments

@lied
Copy link

lied commented Dec 4, 2017

It's possible to configure Filebeat to reload it's prospector config dir with a given frequency

filebeat.config.prospectors:
  path: configs/*.yml
  reload.enabled: true
  reload.period: 10s

This needs to be in the main section of the filebeat.yml config file. More info available here https://www.elastic.co/guide/en/beats/filebeat/5.6/filebeat-configuration-reloading.html

@pcfens
Copy link
Owner

pcfens commented Apr 16, 2018

Sorry I'm just getting a chance to look at this. It's really only become an option at 90c3637

I'm assuming you're setting the purge_conf_purge_dir to false (the default is true), otherwise Puppet will mange the prospectors directory, essentially undoing anything changed outside of Puppet.

I probably won't have time to look at this this week or next, but feel free to submit a PR if you want. I'm thinking of taking the config.prospectors hash as a parameter and merging it with the hash that's formed in config.pp.

@pcfens
Copy link
Owner

pcfens commented Jan 13, 2020

I don't have a use case for this so I don't see myself getting around to implementation, but would appreciate a MR if anyone else has the time and need.

@NapoSky
Copy link

NapoSky commented Aug 31, 2021

Bump too on this one.

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

No branches or pull requests

3 participants