Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data)

Hi,
I have installed the filebeat to multiple EC2 machine and shipping logs to Elasticsearch. version is same for all instances. Service is working file and making connection to ELK stack but getting problem that logs are not showing in kibana and getting below error in filebeat server

Error:

ERROR	instance/beat.go:1027	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).