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:
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