⛏️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 Storage Vault • Room 3

SPL Lab: Measuring Daily Ingest by Index

Even when Splunk Cloud uses workload-based SVC licensing or ingest entitlements, monitoring per-index daily ingest volume helps spot runaway sourcetypes and plan DDAS/DDAA storage capacity.

The _internal index records granular ingest accounting in license_usage.log under type=Usage with fields b (bytes) and idx (index name).

Write an SPL query summing bytes by index and converting the total to gigabytes (GB) sorted from highest to lowest.

Querying license_usage.log by index
index=_internal source=*license_usage.log type=Usage
| stats sum(b) as bytes by idx
| eval GB = round(bytes/1024/1024/1024, 2)
| sort -GB
In license_usage.log, type=Usage captures raw event volume before replication or SmartStore compression, making it ideal for spotting noisy indexes.

Knowledge Check

Prove your understanding to clear the room (Rewards XP)
Write an SPL query using index=_internal source=*license_usage.log type=Usage to sum bytes (b) by idx, compute GB, and sort descending by GB.
Splunk Search Bar
>