Moving avg aggregation

Moving avg aggregation #

A parent pipeline aggregation smoothing a metric with a moving average over the last N buckets — moving_fn with a fixed averaging script.

Parameters for moving_avg #

  • buckets_path
    (Required, string) Path to the consumed metric in the same bucket.
  • window
    (Required, integer) Number of buckets in the sliding window.
  • model
    (Optional, string) Averaging model; the engine evaluates a simple mean.
  • gap_policy
    (Optional, string) skip (default) or insert_zeros.
Calendar September 27, 2026
Edit Edit this page