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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...