Filter CSV and LF

Hi friends.

We have detected that when we are importing CSV files the last line in the CSV is not loaded in elasticsearch.
We have verified that the csv files that arrive us to load do not bring "\ n" to the end of the last row, so I understand that the "input file" does not process it.
Is this correct behavior?
Or is there any way to tell logstash to load that line even if it does not have a "\ n" at the end?
Thanks for your help.

For the filter, last line is not processed at the moment it occurs. It is waiting for the next line to evaluate what it is needed to do with it and the last line is in the buffer. If you are using Multiline codec, you can use auto_flush which will flush the buffer after some time interval.

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