logstash-plugins / logstash-input-file

Apache License 2.0
68 stars 101 forks source link

unable to read the whole file when pipeline get reload #290

Closed kaisecheng closed 2 years ago

kaisecheng commented 3 years ago

When Logstash start with --config.reload.automatic, the file input can ingest all data without any reload However, if pipeline got reload in the middle of ingestion, let's say have already read 300 out of 600 lines, Logstash read the first 300 lines again and leave the rest unread.

Currently the workaround is use tail mode