Splunk Enterprise Security

Percentage of Indexes’ logs in 24 hours.

SabariRajanT
Path Finder

Can someone help me to identify Percentage of Indexes’ logs in 24 hours.?

I have pulled using count like this :index=* earliest=-24h@h latest=now | stats count by index

But need this in Percentage.

Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
index=* earliest=-24h@h latest=now 
| stats count by index
| eventstats sum(count) as total
| eval percent=round((count * 100) / total, 2)
| fields - total

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
index=* earliest=-24h@h latest=now 
| stats count by index
| eventstats sum(count) as total
| eval percent=round((count * 100) / total, 2)
| fields - total
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...