Multiline Codec: Autoflush causing duplicates of last log message

So I was having an issue where Logstash's multiline codec was not reading in the last log message from a file. When I added the auto_flush_interval as suggested in the link. I found that now it adds the log message twice. So it doesn't add the log message when there is no auto flush interval set. And it adds it twice when there is an auto flush interval set. Is there a way to have it only had one event. Again, I am reading the events in from a file and it is not getting added to (i.e. static file)

Thanks!

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