# Adding label for different parts of timelion

**URL:** <https://discuss.elastic.co/t/adding-label-for-different-parts-of-timelion/156789>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [November 15, 2018, 6:06am UTC](https://discuss.elastic.co/t/adding-label-for-different-parts-of-timelion/156789 "2018-11-15T06:06:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 16, 2018, 4:14am UTC](https://discuss.elastic.co/t/adding-label-for-different-parts-of-timelion/156789/2 "2018-11-16T04:14:48Z")

</div>

I have not experimented much with labels in Timelion, but I can cross link to a post which explains generation of Timelion labels dynamically .. hope this helps,

> [@Timelion: how generate .label() dynamically?](https://discuss.elastic.co/t/timelion-how-generate-label-dynamically/85072):
>
> Hi, I am using split function in timelion to do a term aggregation and to produce mutliple lines by grouping. The query is quite long and I want to set a custom label, which includes fields of the query. Example: I split for the filed type. That gives me 3 lines, one for (type1, type2, type3) Now I want to set a custom lable, which should be as following: "my very own static text" [type] So this should result into: my very own static text type1 my very own static text type2 my very ow…

Cheers  
Rashmi

---

_[View the full topic](https://discuss.elastic.co/t/adding-label-for-different-parts-of-timelion/156789)._
