# Registry file entry is empty

**URL:** <https://discuss.elastic.co/t/registry-file-entry-is-empty/90719>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 24, 2017, 4:31pm UTC](https://discuss.elastic.co/t/registry-file-entry-is-empty/90719 "2017-06-24T16:31:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![punit\_j](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@punit\_j](https://discuss.elastic.co/u/punit_j)\
**Post date:** [June 24, 2017, 4:31pm UTC](https://discuss.elastic.co/t/registry-file-entry-is-empty/90719/1 "2017-06-24T16:31:22Z")

</div>

Hi,

I am facing an issue in filebeat registry file under windows platform.  
Registry file under C:\Program Files\filebeat\data\registry shows empty array []. I dont see this behavior under linux platform. Am I missing anything ?

Regards.  
Punit

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 27, 2017, 4:01pm UTC](https://discuss.elastic.co/t/registry-file-entry-is-empty/90719/2 "2017-06-27T16:01:33Z")

</div>

The file is updated after events are successfully published to an output. Are there any errors in your log file? Or problems writing to the output?

---

<div class="post-metadata">

**Author:** ![punit\_j](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@punit\_j](https://discuss.elastic.co/u/punit_j)\
**Post date:** [July 4, 2017, 10:28am UTC](https://discuss.elastic.co/t/registry-file-entry-is-empty/90719/3 "2017-07-04T10:28:16Z")

</div>

Hi Andrew,

I did some testing and found out below

my earlier filebeat config was as below:

```auto
filebeat.prospectors:
- input_type: log
  paths:
    - d:\JINK\*\Logs\*\*.log
  tags: [jinklogs]
  multiline.pattern: '^JINK'
  multiline.negate: true
  multiline.match: after
processors:
- drop_fields.fields: [offset]
- drop_fields.fields: [beat.version]

output.console:
  enabled: false
  pretty: true

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

```

I changed it to

```auto
filebeat.prospectors:
- input_type: log
  paths:
    - d:\JINK\*\Logs\*\*.log
  scan_frequency: 10s
  ignore_older: 48h
  tags: [jinklogs]
  multiline.pattern: '^JINK'
  multiline.negate: true
  multiline.match: after
processors:
- drop_fields.fields: [offset]
- drop_fields.fields: [beat.version]

output.console:
  enabled: false
  pretty: true

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

```

Basically added below lines and now i see registry file being populated  
scan\_frequency: 10s  
ignore\_older: 48h

has this got to do with too many open files preventing updation of registry file or something else ?

---

<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:** [August 1, 2017, 10:28am UTC](https://discuss.elastic.co/t/registry-file-entry-is-empty/90719/4 "2017-08-01T10:28:35Z")

</div>

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