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
Legend

@Manoj_g ,

Try this ,

"search to sort in the order of events"| streamstats count by SUCCESS_STATUS|where count>=4 AND SUCCESS_STATUS=="FAILED"
---
What goes around comes around. If it helps, hit it with Karma 🙂

View solution in original post

0 Karma

renjith_nair
Legend

@Manoj_g ,

Try this ,

"search to sort in the order of events"| streamstats count by SUCCESS_STATUS|where count>=4 AND SUCCESS_STATUS=="FAILED"
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...