Splunk Search

Combining multiple searches

anirbanukil
Explorer

I have three different (unique) searches which sends out alerts in case certain conditions are met. I want to send an alert if all the three alerts (as mentioned above) are fired for an escalation scenario. Please advice how this can be achieved.

Tags (3)
0 Karma
1 Solution

imrago
Contributor

Perhaps you could create an alert which would search for those three alerts in

index="_audit" action="alert_fired"

View solution in original post

imrago
Contributor

Perhaps you could create an alert which would search for those three alerts in

index="_audit" action="alert_fired"

imrago
Contributor

index=_audit action="alert_fired" ss_name=Alert1 OR ss_name=Alert2 OR ss_name=Alert3 | stats dc(ss_name) as alerts

and you should fire the alert if alerts = 3

0 Karma

anirbanukil
Explorer

Thanks for the update but how can I search multiple alert names as an 'AND' condition.
Ex: Alert1 and Alert2 and Alert3 all have fired.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...