⛏️GetSplunky!
Lv.1Intern
0 XP
0
Home Map Stats Drill Board Log In
CoursesArticlesSPL Cheat SheetCertification PathAboutPrivacyTerms

Splunky is an independent, free study resource. It is not affiliated with, endorsed by, or sponsored by Splunk or Cisco. Splunk, SPL and related marks are trademarks of Splunk, a Cisco company, and are used here only to identify the certifications this site helps you study for.

© 2026 Splunky

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_avg

Knowledge 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?
Astats
Beventstats
Cstreamstats
Dtstats