Enfore different order for reading files in logstash -


i have multiple log files written in descending order. i.e contents of xyz.log.5 written before contents of log xyz.log.4. number of log files unknown.

so, i'm using wildcard read files

input{   file{     path => "path/to/file/xyz.log.*"     ......     ......   } } 

but reading files in ascending order. reading in descending order important because logs contain time based events span on multiple files , i'm calculating time intervals using elapsed filter. so, i'm getting incorrect time intervals reading order different.

is there way force logstash read in descending order?


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -