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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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