# Logstash generates duplicates when adding fields

**URL:** <https://discuss.elastic.co/t/logstash-generates-duplicates-when-adding-fields/153887>\
**Category:** Logstash\
**Created:** [October 25, 2018, 12:41am UTC](https://discuss.elastic.co/t/logstash-generates-duplicates-when-adding-fields/153887 "2018-10-25T00:41:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratman](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@ratman](https://discuss.elastic.co/u/ratman)\
**Post date:** [October 25, 2018, 12:41am UTC](https://discuss.elastic.co/t/logstash-generates-duplicates-when-adding-fields/153887/1 "2018-10-25T00:41:09Z")

</div>

Hi! I don't know what's going on but no matter what Logstash configuration I am using but it keeps on duplicating (2-3-4 times) all the events that go through my pipeline...  
I noticed that it duplicates the fields I am adding by using an "add\_field" filter, and I am completely lost.

Is it possible that logstash keep a cache or something? Because I am deleting the register and so on every time I modify the \*conf file, but it keeps on getting worse. And the worst part is that it was working fine until I tried to add a new translate filter... then it broke. Any hints about how could I solve this?

Thanks!

 ![aaa](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2ea4da5d4ceb1f3647e7daeb68b08f119f231c53.png)

---

<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:** [November 22, 2018, 12:41am UTC](https://discuss.elastic.co/t/logstash-generates-duplicates-when-adding-fields/153887/2 "2018-11-22T00:41:10Z")

</div>

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