# Filebeat registry/log.json size keeps increasing though there are no new log entries in my application log

**URL:** https://discuss.elastic.co/t/filebeat-registry-log-json-size-keeps-increasing-though-there-are-no-new-log-entries-in-my-application-log/342757
**Category:** Beats
**Tags:** filebeat
**Created:** [September 11, 2023, 5:12pm UTC](https://discuss.elastic.co/t/filebeat-registry-log-json-size-keeps-increasing-though-there-are-no-new-log-entries-in-my-application-log/342757 "2023-09-11T17:12:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![palansk](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@palansk](https://discuss.elastic.co/u/palansk)
#### Post date: [September 11, 2023, 5:12pm UTC](https://discuss.elastic.co/t/filebeat-registry-log-json-size-keeps-increasing-though-there-are-no-new-log-entries-in-my-application-log/342757/1 "2023-09-11T17:12:58Z")

</div>

Filebeat is making entry to log.json file even though are no new logs being added to my application log file.

Below is the excerpt of the log.json file

```auto
{"k":"filebeat::logs::native::670096-64768","v":{"ttl":-1,"FileStateOS":{"inode":670096,"device":64768},"identifier_name":"native","id":"native::670096-64768","prev_id":"","source":"/var/log/usr/local/application/backend.log","offset":987,"timestamp":[2319894680250,1694451381],"type":"log"}}
{"k":"filebeat::logs::native::670096-64768","v":{"id":"native::670096-64768","offset":987,"ttl":-1,"identifier_name":"native","FileStateOS":{"device":64768,"inode":670096},"prev_id":"","source":"/var/log/usr/local/application/backend.log","timestamp":[2319894680250,1694451381],"type":"log"}}
{"k":"filebeat::logs::native::670096-64768","v":{"source":"/var/log/usr/local/application/backend.log","ttl":-1,"identifier_name":"native","id":"native::670096-64768","prev_id":"","type":"log","FileStateOS":{"inode":670096,"device":64768},"offset":987,"timestamp":[2319894680250,1694451381]}}
{"k":"filebeat::logs::native::670096-64768","v":{"FileStateOS":{"inode":670096,"device":64768},"prev_id":"","timestamp":[2319894680250,1694451381],"offset":987,"ttl":-1,"type":"log","identifier_name":"native","id":"native::670096-64768","source":"/var/log/usr/local/application/backend.log"}}
{"k":"filebeat::logs::native::670096-64768","v":{"id":"native::670096-64768","source":"/var/log/usr/local/application/backend.log","timestamp":[2319894680250,1694451381],"ttl":-1,"type":"log","identifier_name":"native","prev_id":"","offset":987,"FileStateOS":{"inode":670096,"device":64768}}}
{"k":"filebeat::logs::native::670096-64768","v":{"id":"native::670096-64768","prev_id":"","ttl":-1,"FileStateOS":{"inode":670096,"device":64768},"identifier_name":"native","source":"/var/log/usr/local/application/backend.log","offset":987,"timestamp":[2319894680250,1694451381],"type":"log"}}
{"k":"filebeat::logs::native::670096-64768","v":{"source":"/var/log/usr/local/application/backend.log","timestamp":[2319894680250,1694451381],"identifier_name":"native","id":"native::670096-64768","prev_id":"","offset":987,"ttl":-1,"type":"log","FileStateOS":{"inode":670096,"device":64768}}}
{"k":"filebeat::logs::native::670096-64768","v":{"prev_id":"","source":"/var/log/usr/local/application/backend.log","offset":987,"ttl":-1,"FileStateOS":{"inode":670096,"device":64768},"id":"native::670096-64768","type":"log","identifier_name":"native","timestamp":[2319894680250,1694451381]}}

```

Please note:  
I have read the following pages already and using the options specified in the page :

> **[Registry file is too large | Filebeat Reference \[8.9\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/reduce-registry-size.html)**

OS : CentOS Linux 7  
Filebeat verion : 8.5.3

Desperately need help.

Thank You,  
PALAN SK

---

<div class="post-metadata">

### Author: ![palansk](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@palansk](https://discuss.elastic.co/u/palansk)
#### Post date: [September 12, 2023, 3:14pm UTC](https://discuss.elastic.co/t/filebeat-registry-log-json-size-keeps-increasing-though-there-are-no-new-log-entries-in-my-application-log/342757/2 "2023-09-12T15:14:15Z")

</div>

Filebeat.yml config for the above log

```auto
- type: log
	enabled: true
	ignore_older: 24h
	close_inactive: 24h
	close_renamed: true
	close_removed: true
	paths:
		- /var/log/usr/local/application/backend.log
	multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
	multiline.negate: true
	multiline.match: after

```

---

<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: [October 10, 2023, 5:14pm UTC](https://discuss.elastic.co/t/filebeat-registry-log-json-size-keeps-increasing-though-there-are-no-new-log-entries-in-my-application-log/342757/3 "2023-10-10T17:14:45Z")

</div>

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