Logstash ignore_older opposite


I would like Logstash to read only files older than one day. How can I do that? It would be sort of the opposite of "ignore_older".


You should set:

stat_interval => "1 hour"
discover_interval => 24

It's explained here and here

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