Splunk Search

Get alerted for 4consecutive failure SUCCESS_STATUS=FAILED

Manoj_g
New Member

I have a base search with index , source , and the sourcetype , I want to build alert when the SUCCESS_STATUS is having 4consecutive failure's , we have different status like SUCCESS , ERROR as well.

Tags (2)
0 Karma
1 Solution

renjith_nair
SplunkTrust
SplunkTrust

@Manoj_g ,

Try this ,

"search to sort in the order of events"| streamstats count by SUCCESS_STATUS|where count>=4 AND SUCCESS_STATUS=="FAILED"
Happy Splunking!

View solution in original post

0 Karma

renjith_nair
SplunkTrust
SplunkTrust

@Manoj_g ,

Try this ,

"search to sort in the order of events"| streamstats count by SUCCESS_STATUS|where count>=4 AND SUCCESS_STATUS=="FAILED"
Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...