Alternative to File Input

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?

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

Are you using the multiline codec's auto_flush_interval option?

Also, see Option to just read from files (without continuously watching them) · Issue #48 · logstash-plugins/logstash-input-file · GitHub.

1 Like

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

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