Logstash re-ingests files


I have a Logstash to Elasticsearch project where logstash collects all the logs from the server and pushes it to elasticsearch. However, seems like the Logstash ingests my logs multiple times. Ingested logs from yesterday was ingested again today. Is there anything wrong with my config?

Sample input config:

input {

file {

path => "0: /Proj/log/*. log"
start position => "end"


Logstash is collecting a rolling file. Example:


1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.