# Include/ Exclude pattern

**URL:** <https://discuss.elastic.co/t/include-exclude-pattern/1902>\
**Category:** Kibana\
**Created:** [June 4, 2015, 7:00am UTC](https://discuss.elastic.co/t/include-exclude-pattern/1902 "2015-06-04T07:00:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [June 17, 2015, 5:19am UTC](https://discuss.elastic.co/t/include-exclude-pattern/1902/2 "2015-06-17T05:19:19Z")

</div>

You should pre-parse the field in question to split values on the slash and store the additional fields in Elasticsearch prior to operating on them in Kibana.

Alternatively, you could turn on static Groovy scripts in Elasticsearch and use Kibana Scripted Fields to create these values (more on that in [this thread](https://discuss.elastic.co/t/calling-groovy-script-from-kibana/2542)), but that can be quite cumbersome.

---

_[View the full topic](https://discuss.elastic.co/t/include-exclude-pattern/1902)._
