# Visualizing Dynamic Fields On Kibana

**URL:** <https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262>\
**Category:** Kibana\
**Created:** [March 16, 2018, 10:12am UTC](https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262 "2018-03-16T10:12:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gebelin\_Gerald](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@Gebelin\_Gerald](https://discuss.elastic.co/u/Gebelin_Gerald)\
**Post date:** [March 16, 2018, 10:12am UTC](https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262/1 "2018-03-16T10:12:10Z")

</div>

Hi there !

To perform a technical analysis of hibernate stacks on our systems we had to store data as dynamic fields on ES.

We have something like this :

....  
hibernate.entity10.fetchcount number   
hibernate.entity10.loadcount number   
hibernate.entity10.name string   
hibernate.entity10.name.keyword string   
hibernate.entity11.fetchcount number   
hibernate.entity11.loadcount number   
hibernate.entity11.name string   
hibernate.entity11.name.keyword string  
...  
and so on. Each entity is dynamicly stored

That's already a great help to perform search in Discover mode like this :

hibernate.entity\*.fetchcount:\>50

This works great, but to go further does anyone have an idea on how we could explore this data in Visualize mode ?

Is there any way to be able to make a graph with the 10 most fetched entities (knowing the field entity is dynamic and not static as it should usualy be) ?

Thanks for your insights !

---

<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:** [March 16, 2018, 5:21pm UTC](https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262/2 "2018-03-16T17:21:32Z")

</div>

No, you have to split out the values into separate fields with the correct data types you want to plot over prior to visualizing them. Kibana currently does not provide a way to extract values from raw messages.

There are some discuss posts around this and possible solutions you may want to explore:

> [@Dynamic Dashboard Schema and Dynamic kibana charts](https://discuss.elastic.co/t/dynamic-dashboard-schema-and-dynamic-kibana-charts/60472/10):
>
> Hey Ashvita, Sorry for the delayed response. I ended up writing a go program which connects to elasticsearch using the net/http client, creates new visualizations, fetches the existing dashboard, adds the new visualizations to the dashboard and uploads the new dashboard in elasticsearch. For example, lets say you have a dashboard called Network-Bandwidth and need to add ingress and egress visualizations of your servers in it. Fetch all visualizations present GET - [http://localhost:9200/.ki…](http://localhost:9200/.kibana/visualization/_search)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Gebelin\_Gerald](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@Gebelin\_Gerald](https://discuss.elastic.co/u/Gebelin_Gerald)\
**Post date:** [March 19, 2018, 2:27pm UTC](https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262/3 "2018-03-19T14:27:09Z")

</div>

> [@rashmi](#):
>
> delayed response. I ended up writing a go program which connects to elasticsearch using the net/http client, c

Thank you very much rashmi for your reply it's a good starting point !

---

<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:** [April 16, 2018, 2:27pm UTC](https://discuss.elastic.co/t/visualizing-dynamic-fields-on-kibana/124262/4 "2018-04-16T14:27:14Z")

</div>

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