# Error writing registrar state to statestore: failed in store/get operation on store 'filebeat'

**URL:** <https://discuss.elastic.co/t/error-writing-registrar-state-to-statestore-failed-in-store-get-operation-on-store-filebeat/277265>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 28, 2021, 6:34pm UTC](https://discuss.elastic.co/t/error-writing-registrar-state-to-statestore-failed-in-store-get-operation-on-store-filebeat/277265 "2021-06-28T18:34:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavaniprasad\_reddy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavaniprasad_reddy/32/52086_2.png) [@bhavaniprasad\_reddy](https://discuss.elastic.co/u/bhavaniprasad_reddy)\
**Post date:** [June 28, 2021, 6:34pm UTC](https://discuss.elastic.co/t/error-writing-registrar-state-to-statestore-failed-in-store-get-operation-on-store-filebeat/277265/1 "2021-06-28T18:34:16Z")

</div>

I am using filebeat 7.12.0 autodiscover to collect events from kubernetes pods. The filebeat log contains an error message as,

```auto
2021-06-28T09:56:42.626Z ERROR [registrar] registrar/registrar.go:205 Error writing registrar state to statestore: failed in store/get operation on store 'filebeat': open /usr/share/filebeat/data/registry/filebeat/checkpoint.new: no such file or directory
2021-06-28T09:56:47.630Z ERROR [registrar] registrar/registrar.go:205 Error writing registrar state to statestore: failed in store/get operation on store 'filebeat': open /usr/share/filebeat/data/registry/filebeat/checkpoint.new: no such file or directory

```

Also the content inside the data registry folder is empty in all the worker nodes and the filebeat pods are not in Ready state.

I have searched a lot on Internet about his issue but could not find anything. Please help me to understand the issue and any solutions to fix the issue

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 26, 2021, 8:35pm UTC](https://discuss.elastic.co/t/error-writing-registrar-state-to-statestore-failed-in-store-get-operation-on-store-filebeat/277265/2 "2021-07-26T20:35:09Z")

</div>

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