Exiting: data path already locked by another beat

Hi, i am new to Elasticstack and am trying to configure filebeat to send logs to logstash-7.6.0. When running ./filebeat -e -c filebeat.yml -d "publish"
i am recieving
Exiting: data path already locked by another beat.
I am using basic configuration

filebeat.inputs:

  • type: log
    enabled: true
    paths:
    -/home/wayne/project/logstash-tutorial.log

output.logstash:
hosts: ["localhost:5044"]

Any help would be appreciated

Hi @artherdent,

Welcome to the Elastic community forums!

Do you have another instance of Filebeat running on the same host? Or did you perhaps start a Filebeat instance in the past that somehow got killed abruptly?

Thanks,

Shaunak

Hi, thank you, that must have been the issue, restarted everything and all good.

We have just installed filebeat 7.6.1 on a new server and only have one filebeat instance running along with metricbeat and packetbeat. We are also experiencing this issue and have not been able to resolve it.

4 Likes

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