All Apps and Add-ons

WEBSITE MONITORING: Change response Time History Chart to display red on failure not response time

nathanluke86
Communicator

I am trying to alter the response Time History Chart to display a red bar when a failure occurs and not when a response time threshold is met.

alt text

sourcetype="web_ping" `website_monitoring_search_index` title="$title$" | timechart avg(total_time) as response_time | eval response_time_over_threshold=if(response_time>`response_time_threshold`,response_time,0) | eval response_time=if(response_time>`response_time_threshold`,0,response_time)

TIA

Labels (1)
0 Karma

493669
Super Champion

How did you identify that failure is occurred?

0 Karma

nathanluke86
Communicator

Hi @493669

failures occur based on response_code for example a 503 error

Thanks

0 Karma
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...