In the filebeat version 7.x there is an entry created in the systemd unit of filebeat
Environment="BEAT_LOG_OPTS=-e". This entry overwrites the settings inside the .yml file for
If you are updating from 6.x version to 7.x then this entry in systemd unit is new and needs to get deleted if you want to log to a custom path.
I got actually 2 questions know.
- Is this really ment to be ? because as you can't overwrite it from the .yml file it seems "buggisious" and confusing.
- in which priority does configuring variables work (.yml file, at startup, etc)