Alternative to File Input


(Walker) #1

I have static XML files that Logstash ingests. My current pipeline utilizes the File Input with the Multiline codec which works but is not perfect. The File input doesn't fully meet my needs because, I assume, it leaves the file open, preventing it from sending the final closing tags for certain events. If I modify my pipeline and save it, the pipeline reloads and, again assuming, on shutdown of the pipeline, the files are closed and finish processing. Is there another method or configurable option with the File input that I can set to solve this issue?


(Magnus B├Ąck) #2

preventing it from sending the final closing tags for certain events.

Are you using the multiline codec's auto_flush_interval option?

Also, see https://github.com/logstash-plugins/logstash-input-file/issues/48.


(Walker) #3

I was not...but I AM now...and it seems to work, thank you sir.


(system) #4

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