User sabdoul in the Logstash Forums reported that the last line of responses read with the line codec were not getting flushed:
I have my last line of csv data that I get with http_poller plugin that is not imported.
Some people have solved the problem by adding a blank newline at the end of the csv file.
[...]
This patch ensures that the codec is flushed at the end of each body.
An alternate approach, which would still require flushing, would be to clone the codec for each response, since responses shouldn't interleave on the codec anyway.
User
sabdoul
in the Logstash Forums reported that the last line of responses read with the line codec were not getting flushed:This patch ensures that the codec is flushed at the end of each body.
An alternate approach, which would still require flushing, would be to clone the codec for each response, since responses shouldn't interleave on the codec anyway.