root@dev01:/usr/share/filebeat/bin# ./filebeat -configtest -e
filebeat2017/06/23 09:06:57.152936 beat.go:339: CRIT Exiting: error loading config file: stat filebeat.yml: no such file or directory
Exiting: error loading config file: stat filebeat.yml: no such file or directory
where is your filebeat.yml
? How did you install filebeat? When running from /usr/share/filebeat/bin, it looks for the configuration file in your current path. Filebeat deb/rpm packages install a wrapper script, so you can run filebeat -configtest -e
. The script sets some defaults configurations, like the config file path to /etc/filebeat/filebeat.yml.
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.