stat-avg
Input Stack: |
⇨ | Output Stack:
|
Filter helper that represents the average statistic of the input time series. This is a
placeholder that gets automatically replaced with avg,:stat
when used with :filter.
It allows filtering based on the average value of each time series without having to duplicate
the input expression.
Examples¶
Filtering series by average value range:
Before | After |
name,sps,:eq, (,nf.cluster,),:by | name,sps,:eq, (,nf.cluster,),:by, :stat-avg, 5e3,:gt, :stat-avg, 20e3,:lt, :and, :filter |
This filters to show only time series where the average value is between 5,000 and 20,000.