# Filebeat reading logs repeatedly

**URL:** <https://discuss.elastic.co/t/filebeat-reading-logs-repeatedly/321364>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 16, 2022, 4:01am UTC](https://discuss.elastic.co/t/filebeat-reading-logs-repeatedly/321364 "2022-12-16T04:01:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GodSlayer\_Inferno](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@GodSlayer\_Inferno](https://discuss.elastic.co/u/GodSlayer_Inferno)\
**Post date:** [December 16, 2022, 4:01am UTC](https://discuss.elastic.co/t/filebeat-reading-logs-repeatedly/321364/1 "2022-12-16T04:01:37Z")

</div>

I am deploying filebeat on a Linux server to manage logs on a webdrive mounted. Filebeat read the logs and send the content to logstash repeatedly, generating duplicated content. The frequency of each line appearing is almost the same.  
The filebeat config is:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/8/38c7d2baad193e444db4117a90487af6800d562a.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/6/8688add8d3ff5478ffe524cc7c179ceec4420898.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d7e7ee35fa6b7c7f38fce724e48c1b36c7cfbd5.png)  
The same config works well for filebeat on windows, and no duplicate log is produced. Should I add some Linux-specific setting? Thank you for your help!

---

<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:** [January 13, 2023, 6:02am UTC](https://discuss.elastic.co/t/filebeat-reading-logs-repeatedly/321364/2 "2023-01-13T06:02:00Z")

</div>

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