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 routr
SHA256 checksum (routr_103.tgz) 06599c8b6c2d24a04f7bc20ca743e2e7bb4ab229415b342985924d870165fb97 SHA256 checksum (routr_102.tgz) 282ac1ff5461a40222b43696af1fe9779177f849ea587905f26d37a9b2111530 SHA256 checksum (routr_101.tgz) b61ed2eff80866c2d02c0875186fa8e45e72f62d824c013d878517cb8545b500 SHA256 checksum (routr_10.tgz) bd39abc12a89adf1ae9cfa9107ae651c5b72c97da97548fc19aa645f55127a2d
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

routr

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
This is a simple if-this-then-that workflow app to share Splunk alert and results on social media. It is easy to install, configure and run. This app, "routr" is bundled together with a sample Splunk saved search to tweet or post an article on Tumblr whenever an alert is triggered from Splunk instance.

ABOUT THIS APP

  1. A simple if-this-then-that workflow app to share Splunk alert and results
  2. Simple to install, configure and run
  3. This app is bundled together with a sample Splunk saved search that searches on failed login events. The search is triggered every 1 minute and looks for matching events in the relative past 1 minute

INSTALLATION STEPS

  1. If you are installing this app manually, ensure this app is unpacked in $SPLUNK_HOME/etc/apps
  2. Go to the following Splunk app endpoint /manager/routr/apps/local/routr/setup?action=edit
  3. Update the setup form with the appropriate oauth and access token credentials and click Save button
  4. Verify that the scripts tweetalert.py or tumblralert.py is moved to $SPLUNK_HOME/bin/scripts accordingly if you configure either Twitter or Tumblr credentials
  5. To confirm that this app has been successfully installed, simply copy the URL of your Splunk instance and load it in another browser. Then try with erroneous Splunk credentials in the login page
  6. Go to your Twitter account page and you should see a tweet within a minute.
  7. If you have configured your Tumblr credentials, go to your Tumblr page and you should see a Tumblr post

HOW TO USE THIS APP

  1. Use tweetalert.py or tumblralert.py in the Alert actions when you create any Splunk Saved Search so that the alert will be posted as a tweet. To do this, Enable a script and provide the file name tweetalert.py or tumblralert.py in the Alert actions

HOW TO TROUBLESHOOT

  1. Go to $SPLUNK_HOME/var/log/splunk/routr.log This log file contains application specific information
  2. Else, look at $SPLUNK_HOME/var/log/splunk/splunkd.log

ABOUT USING CACERT

  1. This app uses the cacert.pem certificate that is publicly available and obtained from **http://curl.haxx.se/docs/caextract.html**
  2. If you would like to generate and use your cacert, please replace the cacert.pem file in $SPLUNK_HOME/etc/apps/routr/bin and update $SPLUNK_HOME/etc/apps/routr/tweetalert.py accordingly

MORE INFORMATION ABOUT SPLUNK ALERTS

  1. Arguments from splunk alerts: **https://wiki.splunk.com/Community:Use_Splunk_alerts_with_scripts_to_create_a_ticket_in_your_ticketing_system**

HOW TO OBTAIN TWITTER OAUTH AND ACCESS TOKENS

  1. Sign up at Twitter
  2. Go to https://apps.twitter.com/
  3. Click at “Create New App”
  4. Fill in the form and accept the agreement
  5. Click on Permission tab. You will need to modify the app access level to "Read, Write and Access direct messages"
  6. Click API Keys tabs and then Create my access token
  7. Access token and Access token secret will be provided
  8. Click “Test Oauth” button to obtain and test Oauth authentication

HOW TO OBTAIN TUMBLR OAUTH AND ACCESS TOKENS

  1. Sign up at Tumblr
  2. Create a Tumblr page (it should resemble uniquename.tumblr.com)
  3. Register a Tumblr application at **http://www.tumblr.com/oauth/apps**
  4. Go to **https://api.tumblr.com/console/calls/user/info** to get the oauth credentials
  5. You may try the different method calls in **https://api.tumblr.com/console** to test if the credentials are correct

CREDITS

CONTACT

Levonne Key ( levonnekey at gmail dot com )

Release Notes

Version 1.0.3
July 30, 2014
  • added integration with Tumblr
  • added richer setup page
Version 1.0.2
July 25, 2014

added setup page to handle twitter credentials

Version 1.0.1
July 17, 2014

added routr appIcon.png

Version 1.0
July 17, 2014

First release of simple example of if-this-then-that workflow


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.