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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...