Alerting

Alert condition - Continuous failure

VijaySrrie
Builder

Hi,

I need an alert to be created, which should trigger only if we receive continuous failures for 5 times within a span of 10 mins.

1) Trigger alert

failure

failure

failure

failure 

failure

 

2) do not trigger alert

failure

failure

failure

failure

success

failure

failure

failure

failure

success

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

You could do something around:

 

| autoregress status p=1-4
| where status = "failure" and status_p1 = "failure" and status_p2 = "failure" and status_p3 = "failure" and status_p4 = "failure"

 

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

You could do something around:

 

| autoregress status p=1-4
| where status = "failure" and status_p1 = "failure" and status_p2 = "failure" and status_p3 = "failure" and status_p4 = "failure"

 

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...