Kibana version : 7.13
Elasticsearch version : 7.13
APM Server version : 7.13
APM Agent language and version : java 1.8
Fresh install or upgraded from other version? fresh install
Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc. :-no
I have imported a json data file using data visualizer. I have few fields with json array in it. SO after I import the data in discover the data within the array is shown as comma seperated values.
My data is displayed as
I am expecting it to be shown in discover as
BrandName:{
"Brand":"Optical"
},
{
"Brand":"Sun"
}
But instead it just displays as comma separated. Because of which when I apply a filter on dashboards to filter based on "Sun" brand it just filters based on both the "optical" and "sun" as same field has both the values.
Here is my mapping for that field
"BrandName": {
"properties": {
"brand": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
How can I get the data in the index displayed as two different elements within a json array , instead of comma seperated values
In my ndjson the data is passed as below
"BrandName":[{"brand":"Optical"},{"brand":"Sun"}]