# How to map list of values correctly to show them in Grafana?

**URL:** <https://discuss.elastic.co/t/how-to-map-list-of-values-correctly-to-show-them-in-grafana/264895>\
**Category:** Elasticsearch\
**Created:** [February 19, 2021, 5:34pm UTC](https://discuss.elastic.co/t/how-to-map-list-of-values-correctly-to-show-them-in-grafana/264895 "2021-02-19T17:34:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dewell/32/84214_2.png) [@dewell](https://discuss.elastic.co/u/dewell)\
**Post date:** [February 19, 2021, 5:34pm UTC](https://discuss.elastic.co/t/how-to-map-list-of-values-correctly-to-show-them-in-grafana/264895/1 "2021-02-19T17:34:44Z")

</div>

Hello, I try to keep it simple. I receive a variable number of float values embedded in a communication protocol via logstash and created a mapping for an elasticsearch index. Via Grafana I connect to the index and I get all the fields correctly.

Here the relevant JSON mapping:  
"informationObjects": {  
"properties": {  
"@type": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"informationElementClasses": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"informationElements": {  
"properties": {  
"@type": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"value": {  
"type": "float"  
}  
}

The field with the values can contain 1-10 different float values and the metrics of Grafana seem to be able to recognize the values. I tested by sending constantly packages with 3 values (1.0, 2.0 and 12.0) and the AVG metric showed 5.0.

But I don't know how to seperate the different values embedded in this field. In the table view it looks like this:  
 ![grafik](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66011945d9bb90c8d431efc1606fe329b152c4e6.png)

Do I have to change the mapping or is it possible to address each of those objects somehow within Grafana?

Thank you very much in advance for your help

---

<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:** [March 19, 2021, 5:35pm UTC](https://discuss.elastic.co/t/how-to-map-list-of-values-correctly-to-show-them-in-grafana/264895/2 "2021-03-19T17:35:31Z")

</div>

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