# Data path already locked by another beat

**URL:** <https://discuss.elastic.co/t/data-path-already-locked-by-another-beat/219852>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 18, 2020, 7:11pm UTC](https://discuss.elastic.co/t/data-path-already-locked-by-another-beat/219852 "2020-02-18T19:11:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![yodog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yodog/32/4822_2.png) [@yodog](https://discuss.elastic.co/u/yodog)\
**Post date:** [February 19, 2020, 12:26pm UTC](https://discuss.elastic.co/t/data-path-already-locked-by-another-beat/219852/2 "2020-02-19T12:26:10Z")

</div>

**filebeat.elasticsearch.yml**

```
filebeat.registry.path: registry.elasticsearch

processors:
- add_host_metadata:
    netinfo.enabled: true

filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: true
  reload.period: 1h

filebeat.modules:
- module: apache
  access:
    var.paths: ["/var/log/apache2/*/access.log"]
  error:
    var.paths: ["/var/log/apache2/*/error.log"]

output.elasticsearch:
  compression_level : 5
  hosts : elastic-zmb-pool
  loadbalance : true
  worker : 2
```

---

_[View the full topic](https://discuss.elastic.co/t/data-path-already-locked-by-another-beat/219852)._
