# Registry filebeat with file overwritten daily

**URL:** <https://discuss.elastic.co/t/registry-filebeat-with-file-overwritten-daily/301771>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 6, 2022, 2:05pm UTC](https://discuss.elastic.co/t/registry-filebeat-with-file-overwritten-daily/301771 "2022-04-06T14:05:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-elk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s-elk/32/98464_2.png) [@S-elk](https://discuss.elastic.co/u/S-elk)\
**Post date:** [April 6, 2022, 2:05pm UTC](https://discuss.elastic.co/t/registry-filebeat-with-file-overwritten-daily/301771/1 "2022-04-06T14:05:57Z")

</div>

hello!

I have a filebeat reading a document and sending the logs to kafka.  
My client has a single file that is overwritten every day.

I understand how the filebeat registry works when new records are added to the document but I don't know if it will work fine when all the file are "new".

My client is storing a catalog of assets and daily it deletes and overwrites the entire catalog in the file including again the assets that were there yesterday + the new ones.

Does this method affect to the registry of filebeat? does it recognize all as new entries?

Thanks in advanced!

---

<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:** [May 4, 2022, 4:06pm UTC](https://discuss.elastic.co/t/registry-filebeat-with-file-overwritten-daily/301771/2 "2022-05-04T16:06:39Z")

</div>

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