Logstash - How to read the files in order of there creation time?


(Ankit Jain) #1

Hi,

We want to read the multiple files (approx 1000) present in a directory (/opt/logstash/data). The creation time of each files is different and we want to read the files on the basis of creation time (file with lower creation time must be read first).

How to read the files in order of there creation time?

Thanks,
Ankit


(Magnus B├Ąck) #2

Currently this isn't possible with the file input plugin.


(system) #3

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