# How to solve issue when change type from log to filestream in filebeat and duplication?

**URL:** <https://discuss.elastic.co/t/how-to-solve-issue-when-change-type-from-log-to-filestream-in-filebeat-and-duplication/314133>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 11, 2022, 9:19am UTC](https://discuss.elastic.co/t/how-to-solve-issue-when-change-type-from-log-to-filestream-in-filebeat-and-duplication/314133 "2022-09-11T09:19:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_petrov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_petrov/32/105688_2.png) [@alex\_petrov](https://discuss.elastic.co/u/alex_petrov)\
**Post date:** [September 11, 2022, 9:19am UTC](https://discuss.elastic.co/t/how-to-solve-issue-when-change-type-from-log-to-filestream-in-filebeat-and-duplication/314133/1 "2022-09-11T09:19:17Z")

</div>

filestream ,the successor of log input, is now generally available in Filebeat and the version I use is 7.15. I have a single active log and I am using log as input type in filebeat.yml .and I found it is better to change input to filestream .when I change from log to filestream , I have duplications and I can't stop the source that is insert logs to the target file I addressed in filebeat, how can I deal with duplications and avoid it ? thanx

---

<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 9, 2022, 11:19am UTC](https://discuss.elastic.co/t/how-to-solve-issue-when-change-type-from-log-to-filestream-in-filebeat-and-duplication/314133/2 "2022-10-09T11:19:23Z")

</div>

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