I wanted to confirm if this feature is unavailable as of 6.2.
Currently, I am able to create buckets according to my sources using the Composite Bucket Aggregation. I then run several sub-aggregations (Sum Metric Aggregations) on each bucket for certain fields.
I also want to sum the values from all the sub-aggregation's sums together into some overarching sum values.
I thought using a Pipeline Aggregation would the best approach for this.
Running the query yields the following error:
"The first aggregation in buckets_path must be a multi-bucket aggregation for aggregation"
I switched from Composite Aggregation to a Terms Aggregation to confirm my Pipeline Aggregation syntax was correct.
Is Composite Aggregation not considered a multi-bucket aggregation in 6.2?
We have a special way to mark aggregations that are eligible for pipeline metrics aggregation but the composite aggregation does not implement this marker. The composite agg is indeed a multi bucket aggregation so this should be considered as a bug. Can you open an issue in github with a simple recreation ?
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.