Alerting

How to trigger different actions based on the number of results in alert ?

syamkrishnachuk
New Member

Hi,

I want to trigger an email if the number of results is greater that 25 and trigger a PagerDuty only when the number of results is greater that 50.

I can achieve this by setting up as two different alerts.
resultHowever, I would like to know if there is a better/optimized way to achieve this.

Thanks!

0 Karma

woodcock
Esteemed Legend

The best way to do this is have various searches append their results into a lookup file and then have 2 more scheduled searches peek into that lookup file, each with its own criteria: one that sends emails, the other that sends pages.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...