I have an entry in elasticsearch index field like
When i create a pie chart and add the field as aggregation - terms, field - field name, order by - metric count, order - descending, size - 0, it is creating separate entries for each string separated by dash. For example, the string i showed slices the pie chart into 6 pieces. But in kibana discover, i can see it as a single entry. How can i fix this?
This is not a Kibana problem, but something that Elasticsearch does by default.
You need to create a mapping/template in ES for the index and make sure the field is set to
not_analyzed - https://www.elastic.co/guide/en/elasticsearch/reference/2.4/mapping-index.html