icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Twilio App for Splunk
SHA256 checksum (twilio-app-for-splunk_11.tgz) 74a0ef1c10cfb2310df2d65513458b36662810871a6883e114aa50df28166273
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Twilio App for Splunk

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
The Twilio App for Splunk helps you ingest Twilio logs into Splunk. This app comes prebuilt with searches powering a number of dashboards and alerts for the ingested log data. It also provides Twilio SMS alerting functionality via Splunk's scripted alert triggers.

Twilio App for Splunk

Twilio App for Splunk helps you ingest Twilio logs into Splunk. This app comes prebuilt with searches powering a number of dashboards and alerts for the ingested log data. It also provides Twilio SMS alerting functionality via Splunk's scripted alert triggers.

What's included

1 x Index (twilio)
4 x Prebuilt Dashboards (call center, call stats, sms center, billing)
*1 x Prebuilt Alert (billing)

Installation

Download this app from Splunkbase then upload the tar.gz file to Splunk.

Log Input Config

1) Download your Twilio call and SMS logs

Twilio provides an easy way to access your call and SMS logs using the web interface.

Download your Twilio call logs here.

Download your Twilio SMS logs here.

Protip: Place both files in a folder together.

2) Upload these files to Splunk

Navigate to: Settings > Data inputs > Files & directories

Click add new.

Follow the steps, making sure you set sourcetype=csv, and index=twilio.

You can choose wether to monitor a file or a directory. Protip: If you placed both files in the same directory during step one, it is quicker to provide Splunk with the directory to monitor. This way, if new Twilio logs are added in the future, Splunk will automatically ingest them.

3) Profit

If everything has worked well, a simple search for "index=twilio" should return some results. You might need to restart Splunk first.

Splunk SMS Alert Setup

0) Overview

1) Get your Twilio account keys

Get your Twilio Account SID and Auth Token on your Twilio Dashboard

2) Edit alert scripts

Go to "$SPLUNK_HOME/etc/apps/twilio-app/bin"
Using your favourite text editor open "$SPLUNK_HOME/etc/apps/twilio-app/bin/textalert-twilio.py"
Enter your Twilio Account SID (starting with AC) / Auth token
Enter "TO phone number" (recipient of SMS Text Message)
*Enter "FROM phone number" (sender of message, must be one of your Twilio Account phone #)

3) Configure an alert

Configure a Splunk alert and select the "Run a Script" option.
Set "textalert-twilio.py" as the script

__Note: Twilio will charge you for every SMS message sent. You can view Twilio pricing @ https://www.twilio.com/sms/pricing__

4) Profit

If everything has worked well the "TO phone number" should be recieving alerts. If not, check the alerts are being fired in the alert manager in the Splunk GUI via: "Activity" > "Alert Manager"

Upcoming features

*Automated (real-time) collection of logs into Splunk via Twilio API.

More

Github repo

Release Notes

Version 1.1
May 17, 2015

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.