# Accessing Specific Variables Through Kibana

**URL:** <https://discuss.elastic.co/t/accessing-specific-variables-through-kibana/200872>\
**Category:** Kibana\
**Created:** [September 24, 2019, 1:11pm UTC](https://discuss.elastic.co/t/accessing-specific-variables-through-kibana/200872 "2019-09-24T13:11:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetracer](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@planetracer](https://discuss.elastic.co/u/planetracer)\
**Post date:** [September 24, 2019, 1:11pm UTC](https://discuss.elastic.co/t/accessing-specific-variables-through-kibana/200872/1 "2019-09-24T13:11:51Z")

</div>

If I had a section of my JSON input into ElasticSearch that looks like below, and I am able to access categories.category.keyword and categories.totaldur is it possible to create a visualization with the different categories and their totaldur?

`"categories":[{"category":"TB","totaldur":55},{"category":"CPB","totaldur":568},{"category":"PP","totaldur":23}`

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 25, 2019, 10:13am UTC](https://discuss.elastic.co/t/accessing-specific-variables-through-kibana/200872/2 "2019-09-25T10:13:54Z")

</div>

That's currently not possible because it would require nested fields that are not supported yet by Kibana. You can denormalize your data and expand each document into n documents with each document just containing a single category, then you can use the regular visualization capabilities of Kibana.

---

<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:** [October 23, 2019, 10:13am UTC](https://discuss.elastic.co/t/accessing-specific-variables-through-kibana/200872/3 "2019-10-23T10:13:55Z")

</div>

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