How does Filebeat handle log rotation

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.