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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...