# Get values from an array field (from elasticsearch)

**URL:** <https://community.grafana.com/t/get-values-from-an-array-field-from-elasticsearch/43208>\
**Category:** Elasticsearch\
**Created:** [February 17, 2021, 10:38am UTC](https://community.grafana.com/t/get-values-from-an-array-field-from-elasticsearch/43208 "2021-02-17T10:38:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennisweller](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@dennisweller](https://community.grafana.com/u/dennisweller)\
**Post date:** [February 17, 2021, 10:38am UTC](https://community.grafana.com/t/get-values-from-an-array-field-from-elasticsearch/43208/1 "2021-02-17T10:38:29Z")

</div>

Hello,  
I have a constant stream of data getting stored in an elasticsearch index and it works well, I can select all fields according to the mapping.  
Each message contains a field InformationObject.value that is an array of double values and if I use a metric like AVG it works well but I don’t know how to get the seperate values out of each message.  
This is how I get the important field “InformationObjects” in the table … it shows 3 objects per message  
 ![grafik](https://us1.discourse-cdn.com/grafana/original/2X/8/883fed9f6640f394f64d1aad05007f0e2a0c70d0.png)

and in the selection for the metric I can choose the value but only the AVG, MAX etc. of those three values but I want to seperate them

![grafik](https://us1.discourse-cdn.com/grafana/original/2X/b/bbc978b1a64b2ffcc52cf38f951d738ee26f6522.png)

I think the answer is rather simple but I couldn’t figure out how yet
