# Dynamically add new field to visualization

**URL:** <https://discuss.elastic.co/t/dynamically-add-new-field-to-visualization/106051>\
**Category:** Kibana\
**Created:** [November 1, 2017, 3:12pm UTC](https://discuss.elastic.co/t/dynamically-add-new-field-to-visualization/106051 "2017-11-01T15:12:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stevedearl](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@stevedearl](https://discuss.elastic.co/u/stevedearl)\
**Post date:** [November 1, 2017, 4:49pm UTC](https://discuss.elastic.co/t/dynamically-add-new-field-to-visualization/106051/2 "2017-11-01T16:49:39Z")

</div>

Hi Igal,

If I've understood your question correctly then I use Timelion to achieve what you're looking for. I'm not sure if its possible with any of the other Kibana visualizations, but there are lots of people on here who know more than me so I'm sure you'll get an answer....!!

Below is an example of my Timelion visualization which is creating a series for each of the possible values within a particular ES field:

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/e/beed2cc6df89fd7db9afaa8f83f5ec4d75390afb.png)

The dynamic labelling uses the fact that Timelion allows Regex (including capture groups) to auto-generate labels from your data. I'll be totally honest here - I grabbed this from another forum post - see [https://discuss.elastic.co/t/timelion-how-generate-label-dynamically/85072](https://discuss.elastic.co/t/timelion-how-generate-label-dynamically/85072)

I suspect the above link should tell you what you need to know to get this working in Timelion.

Hope that helps,  
Steve

---

_[View the full topic](https://discuss.elastic.co/t/dynamically-add-new-field-to-visualization/106051)._
