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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

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