Drop old messages

Hi all,
i'm reading with logstash several files and after send to ES.
I this files i have also old log lines with timestamps. How can avoid to send to ES the rows with old timestamp?

I can use drop filter, but what is the condition to check?

BR

Check out the age filter (https://www.elastic.co/guide/en/logstash/5.4/plugins-filters-age.html).

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