All Apps and Add-ons

How to set up SMS alerts to individual phone numbers based on a lookup

adrianrepublic
Explorer

We have a lookup table that contains IDs for specific devices grouped by location IDs. This has been working great for emailing alerts when specific thresholds trigger alerts.

 

However we want to be able to trigger sms messages when an alert for a individual location ID takes place.

 

We find that we can set this up with the TWILLIO alert action but we can only specify one phone number.

 

Is there a way to do this using VictorOps, Twillio or is a modular script the best method?

Labels (2)
Tags (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Try using sendalert command:

| sendalert <twillio/find right name for your alert action from alert_actions.conf file> <other arguments>

If you want to map with lookup and send message to specific contacts then you can use similar logic as you used to with email or something similar to below.

https://community.splunk.com/t5/Splunk-Search/How-to-use-the-sendemail-command-to-send-an-email-to-d... 

I hope this helps!!!

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...