Alerting

Help with alert conditional destination

Radcriminal
Explorer

Hello!

 

I have a search table that matches some values and users, like this:

is_old_OS_version username
true Bob
false Marie
true Alice

 

I want to send alerts to slack only to Bob and Alice and not to Marie. I know that I need a slack application and I have already made it.
But how to integrate splunk with this application and chose only to mention the persons I need.

Basically I have 2 strategies here:

1. Send to some channel and mention person I need with @ (not the best option, because I will mention lot's of persons with old software in one place)
2. Send directly to the person

There are multiple splunk applications that helps integrate with slack, but as I see, I can only choose one channel ID for alert, but I need to dynamically change this ID or find another way.

Labels (1)
Tags (2)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...