Alerting

How to trigger an alert if the conditions remain for a certain period of time?

joydeep741
Path Finder

I have an alert set up, which triggers when page load time > 4.

Now, say the page load time is 5, then I want to trigger the alert if it remains as 5 for the next 15 mins . Is this possible ?

0 Karma

somesoni2
Revered Legend

How frequent the data is collected and what's the frequency of the alert?

0 Karma

woodcock
Esteemed Legend

Save a search like this to run every X minutes for the last 15 minutes (-15m@m) and trigger when the number of results > 0:

... | timechart span=5m avg(pageLoadTime) AS avgPageLoadTime | where avgPageLoadTime > 5 | stats count | where count > 3

Note that count=3 * span=5 is equal to 15 minutes. You can play with these numbers to adjust as you see fit.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...