# Exclude messages with Strings

**URL:** <https://discuss.elastic.co/t/exclude-messages-with-strings/111668>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 14, 2017, 12:52am UTC](https://discuss.elastic.co/t/exclude-messages-with-strings/111668 "2017-12-14T00:52:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinkdffrnt](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@thinkdffrnt](https://discuss.elastic.co/u/thinkdffrnt)\
**Post date:** [December 14, 2017, 12:52am UTC](https://discuss.elastic.co/t/exclude-messages-with-strings/111668/1 "2017-12-14T00:52:34Z")

</div>

Hello,

I'm using Filebeat version 1.3 I want to ignore all LOG messages with Strings 'test' 'Test'  
Does 1.3 support drop\_event? If so, the below (sample)configuration doesn't work.

processors:

- drop\_event:  
when:  
regexp:  
message: 'Test'

Thank you in advance

---

<div class="post-metadata">

**Author:** ![thinkdffrnt](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@thinkdffrnt](https://discuss.elastic.co/u/thinkdffrnt)\
**Post date:** [December 14, 2017, 12:54am UTC](https://discuss.elastic.co/t/exclude-messages-with-strings/111668/2 "2017-12-14T00:54:20Z")

</div>

There is a dash in front of drop\_event which is automatically being edited. Please ignore.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [December 14, 2017, 12:06pm UTC](https://discuss.elastic.co/t/exclude-messages-with-strings/111668/3 "2017-12-14T12:06:10Z")

</div>

I think `drop_event` was supported by Filebeat 1.3, that's a really old version, would you consider using a newer one? Latest stable is `6.1.0`: [https://www.elastic.co/downloads/beats/filebeat](https://www.elastic.co/downloads/beats/filebeat)

---

<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 11, 2018, 12:06pm UTC](https://discuss.elastic.co/t/exclude-messages-with-strings/111668/4 "2018-01-11T12:06:17Z")

</div>

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