Based on terms aggregation we have count of Oranges - 5 & Pears -3 & Apples - 3.
Now 2 fruit categories (Pears & Apples ) have 3 as count. So here I have nested aggregation of 2. What I want is 2 here.
I can get this from nested aggregation in an elastic query.
But How do i implement this in a kibana dashboard?
oh sorry, just realized you are trying to visualize a nested aggregation. I am afraid Kibana does not aggregate on nested documents. We have an issue for that, which you can follow [here].(Nested field support · Issue #1084 · elastic/kibana · GitHub)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.