Hello,
I have an issue with Logstash, it loads the same data many times.
this is my config,
-
Logstash is running as a service on Windows.
input { file { path =>["D:/exploit/tmp/nuitAppELK/annuel/CALCOMPTEURS_ANN-*.log"] type => "xtruncpt-annuel-belgique" start_position => "beginning" sincedb_path => "/dev/null" } } filter { ....... } output { if [type] == "xtruncpt-annuel-belgique" { elasticsearch { hosts => ["10.81.131.123:9200"] index => "xtruncpt-annuel-belgique-anvers" } } } }
-
The file was updated for the first time around 10pm.
- As we can see the same data was loaded three times last night.
Can you help me please to fix this issue, I want to load my data just one time every update of the file ?
thanks.