How does Filebeat handle log rotation


(Dar Varley) #1

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?


(ruflin) #2

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.


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.