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
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...