_reduced_count: 10000 — cutting storage costs without losing information.
Quick start
error_code and flushes each group after 5 seconds.
How it works
- Events are grouped by the fields you specify in
group_by - When a group reaches
max_eventsor the time window expires, it flushes - The first event in each group is emitted with metadata fields added:
_reduced_count— how many events were consolidated_reduced_span_ms— time span from first to last event in the group
min_events pass through unchanged — no metadata is added.
Grouping
Thegroup_by field controls what counts as “similar.” Events with the same values for these fields land in the same group.
group_by is empty, events are grouped by their entire content — only exact duplicates are consolidated.