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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...