# How can i retreive data from my elasticsearch index and plot it in kibana line chart

**URL:** <https://discuss.elastic.co/t/how-can-i-retreive-data-from-my-elasticsearch-index-and-plot-it-in-kibana-line-chart/193590>\
**Category:** Kibana\
**Created:** [August 2, 2019, 4:00pm UTC](https://discuss.elastic.co/t/how-can-i-retreive-data-from-my-elasticsearch-index-and-plot-it-in-kibana-line-chart/193590 "2019-08-02T16:00:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saif\_Faidi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif_faidi/32/51547_2.png) [@Saif\_Faidi](https://discuss.elastic.co/u/Saif_Faidi)\
**Post date:** [August 2, 2019, 4:00pm UTC](https://discuss.elastic.co/t/how-can-i-retreive-data-from-my-elasticsearch-index-and-plot-it-in-kibana-line-chart/193590/1 "2019-08-02T16:00:41Z")

</div>

Hello , is there any way to plot Y-axis1 = "proj1" , Y-axis2 = "proj2" and X-axis ="sh1" where my elastic data is the following :

}

 ![ela](https://us1.discourse-cdn.com/elastic/original/3X/0/0/009fdb2fc457f2fa2f407d725ce7a758faf63988.png)

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [August 2, 2019, 6:59pm UTC](https://discuss.elastic.co/t/how-can-i-retreive-data-from-my-elasticsearch-index-and-plot-it-in-kibana-line-chart/193590/2 "2019-08-02T18:59:23Z")

</div>

Hi @Saif_Faidi,

Do each of the three `sh1` values correspond to the values in the `proj1` and `proj2` lists?

Are you wanting to plot each of the values in `proj1` and `proj2` as individual series (lines)?

I'm having a hard time thinking of how the data structure you provided would translate into a useful aggregation, so just want to be sure I understand your question.

---

<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:** [August 30, 2019, 6:59pm UTC](https://discuss.elastic.co/t/how-can-i-retreive-data-from-my-elasticsearch-index-and-plot-it-in-kibana-line-chart/193590/3 "2019-08-30T18:59:39Z")

</div>

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