Detect last n lines in a log file

how to read only the last n lines in a logfile using logstash to be able to parse it and drop all the others knowing that there are some duplicate lines?

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