Sum bucket aggregation #
A sibling pipeline aggregation computing the sum of a metric across another aggregation’s buckets — e.g. “total of the daily totals”.
The result equals the plain sum over all documents (6750).
Parameters for sum_bucket
#
buckets_path
(Required, string) Path to the consumed metric:"<bucket_agg>><metric>".format
(Optional, string) Output number format.gap_policy
(Optional, string)skip(default) orinsert_zeros.