Flushing an incomplete line to the output


I am currently trying to integrate logstash into my company's logging system.
The issue is following:

  • I cant change how the files are created
  • No files end with EOL (issue!)
  • Most of the files are one liners without EOL

This means I can declare delimiter => "something"
The problem here is that the delimiter is eaten so I need to reapend it back to the file.
Plus the file doesnt end everytime with same last word.

is there a way to force logstash's buffer to be emptied into a field and then pass it to the output?

Many thanks.