I am planning to use the filebeat to collect logs. All the logs will be rotated using logrotate command for linux Reading the posts I understood that filebeat keeps track of data by inode.
However, if the logs are rotated using compress mode , I assume specifying the path in the prospectors as message* is not a good idea.
when compressing logs, you often append .gz to the file names. How many files to you keep as plaintext? You can either define all patterns or use exclude_files with '\.gz$' to filter out all compressed files.
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.