elkninja / elastic-stack-docker-part-one

Getting up and running with Elastic Stack on Docker-Compose
Apache License 2.0
187 stars 118 forks source link

Filebeat lock #27

Open Pete920 opened 2 months ago

Pete920 commented 2 months ago

Hi,

After container started, i go into filebeat container and i can see filebeat.lock in DATA folder. And run ' filebeat -e -d "*" ' get below error message: {"log.level":"error","@timestamp":"2024-08-19T06:23:12.949Z","log.origin":{"function":"github.com/elastic/beats/v7/libbeat/cmd/instance.handleError","file.name":"instance/beat.go","file.line":1345},"message":"Exiting: /usr/share/filebeat/data/filebeat.lock: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data)","service.name":"filebeat","ecs.version":"1.6.0"} Exiting: /usr/share/filebeat/data/filebeat.lock: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data)

I am trying to use this cluster for netflow monitoring. Please kindly help with this issue.

paste filebeat.yml and docker-compose.yml here filebeat.yml.txt

docker-compose.yml.txt