for different services, I have different path of log files.
Can I add all the paths of my log files to a single filebeat.yml?
for different services, I have different path of log files.
Can I add all the paths of my log files to a single filebeat.yml?
path1 on host1: /var/log/apache/*.log
path2 on host2: /var/log/serviice1/*.log
path1 is not on host2 and path2 is not on the path1, will it still be ok to put them inside the filebeat.yml?
should be ok. But you might get an error message logged by filebeat about every scan_frequency
complaining about glob(%s) fail: ...
. A little annoying, but not critical, as next glob-pattern will be checked anyways.
This topic was automatically closed after 21 days. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.