- 
                Notifications
    You must be signed in to change notification settings 
- Fork 103
Description
The Request:
This is more of an enhancement request to add support for the matched files to be watched in the order of their timestamp oldest to newest and or add an option to define the some ordering behaviors.
The problem
Given: path => "/tmp/file.*.json"
Right now the ordering of watched files appear to be based on whatever order glob returns. This leads to situations where a newer file ends up being watched before an older one.
In my case I need logstash to respect this historical order of the matched files, otherwise it leads to the old data being considered the latest version. (i get around this by aggressively pruning old files that i "think" are done and when I run into this issue I end up having to reload the latest data manually).
Is anyone else running into this?