Logstash-input-file read all txt data

I want to read all txt data,so I set configuration:
codec => multiline {
pattern => "EOF"
negate => true
what => "previous"
auto_flush_interval => 1
but I can get all txt data except the Last line of data
so how can I do to get really all the data

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