Dashboards & Visualizations

Dashboard design timechart

sphiwee
Contributor
index="intau" host="server1" sourcetype="services_status.out.log" service="HTTP/1.1" status=* | chart count by status
| eventstats sum(count) as total
| eval percent=100*count/total
| eval percent=round(percent,2)
| eval SLO =if( status="200","99,9%","0,1%")
| where NOT (date_wday=="saturday" AND date_hour >= 8 AND date_hour < 11)
| fields - total count

 

availability.PNG

I have the above Query and the above result , how can i combine 502 and 200 results to show our availability excluding maintenance time of 8pm to 10pm every Saturday, how can i make it look like the drawing I produced there

Labels (3)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index="intau" host="server1" sourcetype="services_status.out.log" service="HTTP/1.1" status=* 
| eval status=if(status=502,200,status)
| chart count by status
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...