# How to create a case-sensitive or an exact-match Filter for a given Index in the Discover screen?

**URL:** <https://discuss.elastic.co/t/how-to-create-a-case-sensitive-or-an-exact-match-filter-for-a-given-index-in-the-discover-screen/202261>\
**Category:** Kibana\
**Created:** [October 4, 2019, 1:02am UTC](https://discuss.elastic.co/t/how-to-create-a-case-sensitive-or-an-exact-match-filter-for-a-given-index-in-the-discover-screen/202261 "2019-10-04T01:02:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hung\_M\_Le](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hung_m_le/32/54995_2.png) [@Hung\_M\_Le](https://discuss.elastic.co/u/Hung_M_Le)\
**Post date:** [October 4, 2019, 1:02am UTC](https://discuss.elastic.co/t/how-to-create-a-case-sensitive-or-an-exact-match-filter-for-a-given-index-in-the-discover-screen/202261/1 "2019-10-04T01:02:58Z")

</div>

Hi

I want to create a case-sensitive filter inside the Discover screen for a given index data. So far my research has shown that the text search is only case-insensitive (lowercase). I would like to find out how to setup the filter to support case-sensitive or exact-match. Please let me know how. Thanks

note: I also upload the screen-dump of the issue at hand: You can see that the word "info" and "INFO" are being counted for the filter that I hope would only filter out ONLY the word "INFO"

BR/

Hung Le

 ![38%20PM](https://us1.discourse-cdn.com/elastic/original/3X/e/a/ea65f4e8ca0e0b94c8dc134c97e71a709ce9f3d1.png)

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [October 4, 2019, 6:42pm UTC](https://discuss.elastic.co/t/how-to-create-a-case-sensitive-or-an-exact-match-filter-for-a-given-index-in-the-discover-screen/202261/2 "2019-10-04T18:42:53Z")

</div>

This stack overflow discussion has some useful ideas on how to approach this - [https://stackoverflow.com/questions/30389495/how-to-implement-case-sensitive-search-in-elasticsearch](https://stackoverflow.com/questions/30389495/how-to-implement-case-sensitive-search-in-elasticsearch)

However, would it make more sense to make the log level is its own field?

---

<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 1, 2019, 6:42pm UTC](https://discuss.elastic.co/t/how-to-create-a-case-sensitive-or-an-exact-match-filter-for-a-given-index-in-the-discover-screen/202261/3 "2019-11-01T18:42:56Z")

</div>

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