# Timelion : spit with insensitive term

**URL:** <https://discuss.elastic.co/t/timelion-spit-with-insensitive-term/115036>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [January 11, 2018, 8:29am UTC](https://discuss.elastic.co/t/timelion-spit-with-insensitive-term/115036 "2018-01-11T08:29:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BokC](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@BokC](https://discuss.elastic.co/u/BokC)\
**Post date:** [January 11, 2018, 8:29am UTC](https://discuss.elastic.co/t/timelion-spit-with-insensitive-term/115036/1 "2018-01-11T08:29:53Z")

</div>

On Kibana 6.1.1

I would like to split my timelion graph with the insensitive value of a term. How can I do this?

Thanks

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [January 12, 2018, 12:17am UTC](https://discuss.elastic.co/t/timelion-spit-with-insensitive-term/115036/2 "2018-01-12T00:17:55Z")

</div>

Hi Olivier, please take a look at [How to split lines based on a term in Timelion using split() or other?](https://discuss.elastic.co/t/how-to-split-lines-based-on-a-term-in-timelion-using-split-or-other/85851/3) for more information on using `split` in Timelion. Converting values to lowercase isn't part of Timelion, though. To do that part, you'll need to create a scripted field under Management \> Index Patterns \> Scripted Fields. You'll need to configure it as type "string" with a script like this:

```auto
doc['name_of_your_field_here'].value.toLowerCase()

```

Then set your Timelion graph to split using this scripted field.

Hope this helps,  
CJ

---

<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:** [February 9, 2018, 12:17am UTC](https://discuss.elastic.co/t/timelion-spit-with-insensitive-term/115036/3 "2018-02-09T00:17:56Z")

</div>

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