I'm using ELK to monitor Cache Servers and have stacked bar graphs that represent a count based on cache hits, misses and expires. I want to order them so that they are stacked: hits, misses, expires. The problem is that this isn't alphabetically organized.
Is there a way in Kibana to explicitly order terms as needed above? I've messed around with the JSON input slightly but wasn't getting the results I expected.
If I understand your question, this isn't possible at the moment. There's an open ticket for explicit ordering of stacked bars here: https://github.com/elastic/kibana/issues/1269
The problem is that this isn't alphabetically organized.
But perhaps I'm misreading your comment. Are you saying that alphabetical ordering would be good enough? If so, that should be possible: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#search-aggregations-bucket-terms-aggregation-order
Apologies if I was unclear -- it's straightforward how to alphabetically organize terms, I need to organize in the order of: Hit, Miss, Expired which is not alphabetical..
I see the ticket, thanks for your response.