⛏️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 1

Eventstats

The eventstats command generates summary statistics and adds them as new fields to *every single raw event*, WITHOUT collapsing the rows.

Unlike stats (which destroys raw data to just show the summary table), eventstats lets you compare an individual row against the overall average.

Finding Above-Average Users
index=sales | eventstats avg(revenue) as overall_avg | where individual_revenue > overall_avg

Knowledge Check

Prove your understanding to clear the room (Rewards XP)
Write an eventstats command calculating the sum(bytes) as "total_bytes".
Splunk Search Bar
>