log_aggregate
Aggregate matching log events into time-series bins to detect volume spikes, enabling rapid identification of log bursts without extracting raw events.
Instructions
[READ] Aggregate matching events into a time series and detect spikes.
WHEN: to find when/whether log volume burst without pulling raw events. Follow up with log_search on the spike window.
INPUT: text/last/begin_ms/end_ms = same query semantics as log_search. aggregation = COUNT|UCOUNT|AVG|MIN|MAX|SUM|STDDEV|VARIANCE|SAMPLE (default COUNT). bin_width_ms = bin width in ms (default 60000). target = target name from config.
RETURNS: {aggregation, bin_width_ms, constraints, bins:[{timestamp_ms, value}], spikes:[{timestamp_ms, value, zscore}]}. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | ||
| text | No | ||
| end_ms | No | ||
| target | No | ||
| begin_ms | No | ||
| aggregation | No | COUNT | |
| bin_width_ms | No |