# Filebeat Processor regex case insensitive

**URL:** <https://discuss.elastic.co/t/filebeat-processor-regex-case-insensitive/206462>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 4, 2019, 7:01pm UTC](https://discuss.elastic.co/t/filebeat-processor-regex-case-insensitive/206462 "2019-11-04T19:01:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OffColour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/offcolour/32/57122_2.png) [@OffColour](https://discuss.elastic.co/u/OffColour)\
**Post date:** [November 4, 2019, 7:01pm UTC](https://discuss.elastic.co/t/filebeat-processor-regex-case-insensitive/206462/1 "2019-11-04T19:01:37Z")

</div>

I think I'm being an idiot here, but my filebeat 6.3.2 drop\_event processor regex condition drops the correct events with  
'^\/health$'

but when I try to make it case insensitive with the following, it doesn't drop anything.  
'^(?i)\/health$'

What am I missing?

---

<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:** [December 3, 2019, 2:34pm UTC](https://discuss.elastic.co/t/filebeat-processor-regex-case-insensitive/206462/3 "2019-12-03T14:34:54Z")

</div>

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