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 Observability for AI

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

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...