# Drop filter not working

**URL:** <https://discuss.elastic.co/t/drop-filter-not-working/55940>\
**Category:** Logstash\
**Created:** [July 20, 2016, 5:11am UTC](https://discuss.elastic.co/t/drop-filter-not-working/55940 "2016-07-20T05:11:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jpcarey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpcarey/32/46668_2.png) [@jpcarey](https://discuss.elastic.co/u/jpcarey)\
**Post date:** [July 20, 2016, 9:53pm UTC](https://discuss.elastic.co/t/drop-filter-not-working/55940/4 "2016-07-20T21:53:05Z")

</div>

You might be able to use the translate filter, which you can then conditionally check if the translate was successful (value is equal to new replaced value, added a field, added a tag, etc). Doing a lookup on each incoming message against a large dictionary will be a performance bottleneck.

[https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html)

---

_[View the full topic](https://discuss.elastic.co/t/drop-filter-not-working/55940)._
