# Filter Duplicate Logs

**URL:** https://discuss.elastic.co/t/filter-duplicate-logs/145472
**Category:** Logstash
**Created:** [August 21, 2018, 11:05pm UTC](https://discuss.elastic.co/t/filter-duplicate-logs/145472 "2018-08-21T23:05:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Naruhodou](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@Naruhodou](https://discuss.elastic.co/u/Naruhodou)
#### Post date: [August 21, 2018, 11:05pm UTC](https://discuss.elastic.co/t/filter-duplicate-logs/145472/1 "2018-08-21T23:05:33Z")

</div>

Hi,

We built the pipeline of Filebeat+Logstash+Elasticserach+Kibana in a Kafka cluster. But when there is an issue happening in the cluster, same logs related to this issue keep generating before the issue is resolved. This takes a lot of space in our Elasticsearch.

Is there any way to filter the duplicate logs generated continuously in Logstash?

Thanks!

---

<div class="post-metadata">

### Author: ![Naruhodou](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@Naruhodou](https://discuss.elastic.co/u/Naruhodou)
#### Post date: [August 22, 2018, 12:32am UTC](https://discuss.elastic.co/t/filter-duplicate-logs/145472/2 "2018-08-22T00:32:21Z")

</div>

Solved. Using throttle.

---

<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: [September 19, 2018, 12:32am UTC](https://discuss.elastic.co/t/filter-duplicate-logs/145472/3 "2018-09-19T00:32:22Z")

</div>

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