I have installed Filebeat 5.1 as rpm package on Linux.
I added my own sample config yml (at my home dir, not default location) and tested with filebeat which works as expected.
Now I make small typo (purposely) in sample config just to make sure configtest fails, using following command : sudo /usr/share/filebeat/bin/filebeat -c /home/myuse/fileBeatTest/filebeat_sample.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat -configtest -e
It still pass with incorrect config !!
If I start Filebeat with this incorrect config, filebeat shows error though.
Can anybody explain how to make sure configtest works correctly ?
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.