How does logstash identify files?

How does logstash identify files? By using inode or just the filename?

On UNIX platforms the file input uses the inode number.

@Badger
So, if I rename a file, will logstash consider it to be the same file, or will it start processing it from the beginning?

The file input has code to handle file rotation.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.