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

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 Pubnub Modular Alert
SHA256 checksum (pubnub-modular-alert_121.tgz) 5c75671cc1858aaf0fdcdb7b3819af3481cc6177a1f5192e3ce0cd2dcb7e1617 SHA256 checksum (pubnub-modular-alert_12.tgz) 49e0f81f551ecb75d9306e22616cb390fd7f038e2e7c33ccc303a08c0a6751d3 SHA256 checksum (pubnub-modular-alert_11.tgz) d5da147e4b7959518df7ff1e5e5ef54bf02034fa34ca7a9842eaa90453d9d579 SHA256 checksum (pubnub-modular-alert_10.tgz) f498a7b98dfdfb3cc5bdf7f13c2c11d753a98c9ac744adfef3bfdc0b58f52875
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Pubnub Modular Alert

Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
This is a Splunk Modular Alert for sending messages to a Pubnub channel

Splunk Pubnub Modular Alert v1.2.1


This is a Splunk Modular Alert for sending messages to a Pubnub channel


  • Splunk 6.3+
  • Supported on Windows, Linux, MacOS, Solaris, FreeBSD, HP-UX, AIX
  • Pycrypto


  • Untar the release to your $SPLUNK_HOME/etc/apps directory
  • Restart Splunk

Activation Key

You require an activation key to use this App. Visit http://www.baboonbones.com/#activation to obtain a non-expiring key

Pycrypto Module

You have to obtain, build and add the pycrypto package yourself :


The simplest way is to build pycrypto and drop the "Crypto" directory in $SPLUNK_HOME/etc/apps/pubnub_alert/bin.
I don't recommend installing the pycrypto package to the Splunk Python runtime's site-packages, this could have unforeseen side effects.

Building and installing PyCrypto

I do not bundle the pycrypto module with the core release , because :

  • you need to build it for each separate platform
  • US export controls for encrypted software

So , here are a few instructions for building and installing pycrypto yourself :

  • Download the pycrypto package from https://pypi.python.org/pypi/pycrypto

  • Then run these 3 commands (note : you will need to use a System python 2.7 runtime , not the Splunk python runtime)

    python setup.py build
    python setup.py install
    python setup.py test

3) browse to where the Crypto module was installed to ie: /usr/local/lib/python2.7/dist-packages/Crypto

4) Copy the "Crypto" directory to $SPLUNK_HOME/etc/apps/pubnub_alert/bin


You will need a Pubnub account to use this Modular Alert.

You can sign up at pubnub.com

Once your account is setup you will then be able to obtain your Publish Key from your profile.


Perform a search in Splunk and then navigate to : Save As -> Alert -> Trigger Actions -> Add Actions -> Publish to Pubnub

On this dialogue you can enter your Pubnub "channel" and "message"

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



Browse to : Settings -> Alert Actions -> Publish to Pubnub -> View Log Events

Or you can search directly in Splunk : index=_internal sourcetype=splunkd component=sendmodalert action="pubnub"


1) Is your "channel" correct ?
2) Are your alerts actually firing ?
3) Is your publish key correct ?


This project was initiated by Damien Dallimore , damien@baboonbones.com

Release Notes

Version 1.2.1
April 19, 2019

added trial key functionality

Version 1.2
March 28, 2019

docs updated

Version 1.1
May 27, 2018

Added an activation key requirement , visit http://www.baboonbones.com/#activation to obtain a free,non-expiring key
Docs updated
Splunk 7.1 compatible

Version 1.0
Feb. 29, 2016

Initial release


Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

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 and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2019 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and 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.