You can configure Filebeat to dynamically reload prospector configuration files when there are changes. To do this, you specify a path (Glob) to watch for prospector configuration changes. When the files found by the Glob change, new prospectors are started/stopped according to changes in the configuration files.
What does the changes in the docs refer to? Does it mean new yml files being added to the directory or changes within the existing files itself.
and I store a single app_prospectors.yml in /usr/share/filebeat/config.
However, we run a service that generates a new app_prospectors.yml based on the Docker containers that are currently running on the host every 60s. I noticed two things that seemed a little odd:
Filebeat doesn't pick up the new app_prospectors.yml file if it was started when the file isn't present.
Also it does seem to me that changes in my app_prospectors.yml file isn't picked up at all. Not sure how to debug this here
It should pick both new files and changes. Please review file permissions for your config folder, they should be the same as in filebeat.yml. Also check the log for details in case that doesn't help, paste it here if permissions don't help
Yes, as a security measure we enforce that by default, you can change that behavior by using --strict.perms=false argument, although that's discouraged.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.