Stats bucket aggregation

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) or insert_zeros.
Calendar September 27, 2026
Edit Edit this page