Hi,
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:
database-app.log
database-app.log.1
database-app.log.2