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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...