How does Filebeat handle log rotation
For example when app.log rolls over to app.1.log.
Does it know to ignore app.1.log since it was already shipped?
How does Filebeat handle log rotation
For example when app.log rolls over to app.1.log.
Does it know to ignore app.1.log since it was already shipped?
Filebeat tracks files based on inode and device. As long as these stay the same during renaming, filebeat will know that the data is already shipped.
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.