I'm pretty sure this should be in the Elasticsearch area as this is a question about whether this type of search is possible... Kibana only presents what Elasticsearch returns & has nothing to do with the actual analysis / retrieval of data.
I have a meeting set up with someone from Elasticsearch this week to discuss this. The meeting is to discuss 'how to show for each top-level bucket, a metric whose value is dependent on the metrics of the sub-buckets'. I'll be sure to update this topic with any findings.
When I choose "average" aggregation for Y-Axis, there is then a drop down box that shows numeric fields. I can only take the average of these numeric fields - there is no option to choose counts of sub-buckets
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.