Splunk Search

Get % Uptime

hartfoml
Motivator

I am useing this search to get both up and down status

"index=monitoring | stats count by status "

The Table shows a count of up status and down status

How do i get a percent UP status from these two "count" numbers?

Tags (3)
1 Solution

Ayn
Legend

Use top instead:

index=monitoring | top status 

View solution in original post

Ayn
Legend

Use top instead:

index=monitoring | top status 

hartfoml
Motivator

Now you're just making me feel stupid

Thanks

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...