Back to Floor
The Nexus • Room 2
Streamstats
The **streamstats** command calculates summary statistics in a rolling, cumulative window across your events.
It evaluates row-by-row in the order the events currently exist. You can use the `window` argument to calculate running averages of the last N events.
Rolling 5-Event Average
index=cpu | streamstats window=5 avg(cpu_usage) as rolling_cpu_avgKnowledge Check
Prove your understanding to clear the room (Rewards XP)
Question 1 of 1
Which command computes rolling statistics row-by-row over a window of events?