# Plotting nested data in Kibana

**URL:** <https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039>\
**Category:** Kibana\
**Created:** [October 18, 2018, 3:46pm UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039 "2018-10-18T15:46:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehdi-gital](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mehdi-gital](https://discuss.elastic.co/u/mehdi-gital)\
**Post date:** [October 18, 2018, 3:46pm UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039/1 "2018-10-18T15:46:37Z")

</div>

Here's a typical document I'm working with:

```
    "_source": {
      "timestamp": "2017-04-26T08:28:00",
      "signals": [
        {
          "par": "signalA",
          "value": 76.36666666666666
        },
        {
          "par": "signalB",
          "value": 96
        },
        {
          "par": "signalC",
          "value": 72
        }
        }            
      ]
    }
  },

```

where "signals" is _nested_. Question:

How can I plot any (or multiple) of these signals as a function of time?

Thank you!

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 19, 2018, 4:37am UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039/2 "2018-10-19T04:37:44Z")

</div>

Kibana currently does not support nested object. [https://www.elastic.co/guide/en/kibana/current/nested-objects.html](https://www.elastic.co/guide/en/kibana/current/nested-objects.html) mentions some workarounds.

Is there a reason you need to have signals as nested? If it was an object you could chart them all over time.

---

<div class="post-metadata">

**Author:** ![mehdi-gital](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mehdi-gital](https://discuss.elastic.co/u/mehdi-gital)\
**Post date:** [October 19, 2018, 1:32pm UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039/3 "2018-10-19T13:32:35Z")

</div>

Thanks for the answer, Tyler! In the project that I'm working on, people had used this kind of structure before me. I guess back then it kinda made sense but now I'm not too sure either.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 19, 2018, 3:52pm UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039/4 "2018-10-19T15:52:51Z")

</div>

If you're considering changing it - it's good to understand how Elasticsearch treats arrays with an object type. There is information on that here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/array.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/array.html)

---

<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:** [November 16, 2018, 3:52pm UTC](https://discuss.elastic.co/t/plotting-nested-data-in-kibana/153039/5 "2018-11-16T15:52:51Z")

</div>

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