Stats bucket aggregation #
A sibling pipeline aggregation returning count/min/max/avg/sum of a metric across buckets — the stats of the per-bucket values.
Parameters for stats_bucket
#
buckets_path
(Required, string) Path to the consumed metric.format
(Optional, string) Output number format.gap_policy
(Optional, string)skip(default) orinsert_zeros.