Csv file not reading last row from file input

Hi All

i am using csv file as input, using file plugin.
After couple of trials i realized, it is not reading only the last line

Any idea how this can be fixed?

Thanks!

Hi Ritesh,

I am also facing same issue you found any solution for this.

Does the final line end with a newline character?

Final line is not ending up with newline character.

I added a blank row in the bottom of csv and saved the file, re-ran the logstash and it worked.

I think it needs one extra line in bottom.Not sure why it is like this

Thanks!

I think it needs one extra line in bottom.Not sure why it is like this

How would Logstash otherwise know that the line actually ended?