Metricbeat Error: data path already locked by another beat

Steps to reproduce (run the following command in terminal):

docker run -d --name metricbeat docker.elastic.co/beats/metricbeat:7.11.1
docker exec -it metricbeat metricbeat -e

Error:

2021-03-08T03:29:41.319Z INFO instance/beat.go:660 Home path: [/usr/share/metricbeat] Config path: [/usr/share/metricbeat] Data path: [/usr/share/metricbeat/data] Logs path: [/usr/share/metricbeat/logs]
2021-03-08T03:29:41.319Z INFO instance/beat.go:668 Beat ID: 028d1f67-94dc-4574-94a0-3e66d4092ef6
2021-03-08T03:29:41.326Z INFO instance/beat.go:405 metricbeat stopped.
2021-03-08T03:29:41.326Z ERROR instance/beat.go:971 Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).
Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).

Thanks

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