How does logstash identify files?


(Gitesh) #1

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


#2

On UNIX platforms the file input uses the inode number.


(Gitesh) #3

@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?


#4

The file input has code to handle file rotation.


(system) closed #5

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