Splunk Enterprise Security

Can I pass tokens (like in email notice) as an arguments to Script for SMS alerting?

Path Finder


I have SMS alerts sent to me as an action of Splunk alert. I have successfully passed the arguments that available for me, like $SPLUNK_ARG_0 etc.

Can I use tokens as I use for email notifications to add more information to the SMS alert? The available arguments are not telling the full story of the related alert.

Thank you.

0 Karma


Yes- As per below app's description/details,

For the SMS message field , token substitution can be used just the same as for email alerts.


You can try this app


0 Karma

Path Finder

Hi @nareshinsvu,

Thanks for your answer.
I was trying to use the tokens, but I'm not getting the expected results.

Please see the Script I'm using, let me know if you can assist.
It works for me just find with the available arguments for Script, but not for the Tokens.


message="msg='$4', '$owner$'

curl $uri --data $user --data $password --data $to --data-urlendode "$message"

By the way,
I know Twilio app, but I prefer to use our own SMS solution, to avoid the need to manage two alerting systems.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...