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!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...