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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...