Logstash - File Input - Read Status File

Hallo there,

I'm trying to read a status csv file with the file input plugin. This file has just one line and is rewritten every 5 Minutes.


The configlines:

file {
path => "/path/to/*check.csv"
type => "DB2"
codec => plain { charset => "ISO-8859-1" }

How can I get logstash to reread the single line? I've tested a SinceDB Path pointed to /dev/null but that didn't worked.

You trying to use the file input for something it isn't intended to do. Try using the exec input instead.