Giter VIP home page Giter VIP logo

splunk-hipchat's Introduction

Splunk to HipChat

Version 1.1

This Splunk to Hipchat script is a quick solution to getting Splunk alerts to send to HipChat. It's a bit rough round the edges, but I thought I'd share anyway.

Getting started with Splunk to Hipchat

  • Install Python on your Splunk server. Don't be tempted to rely on the version bundled with Splunk as you will struggle to install the Splunk SDK for Python that is needed for this script.

  • Set PYTHON_HOME and SPLUNK_SCRIPTS_LOCATION inside splunkToHipchat.sh. SPLUNK_SCRIPTS_LOCATION should be set to the real path of $SPLUNK_HOME/bin/scripts.

  • Install the Splunk Software Development Kit for Python libraries.

  • Update splunkToHipchat.config with your configuration. You should only need to change the first three sections unless you want to customise the alert colours and notifications. Default values are offered for some settings but these are probably inappropriate for your configuration.

  • Place splunkToHipchat.py, splunkToHipchat.sh and splunkToHipchat.config into $SPLUNK_HOME/bin/scripts. Ensure that you have set execute permissions on the shell script.

  • Configure your Splunk alert(s) action to be 'Run a Script' and point them at splunkToHipchat.sh. This acts acts as a wrapper for the Python script to allows you to use your own version of Python.

  • Wait for an alert to fire and watch as it appears in HipChat.

Requirements

Tested with Python 2.7.6 and Splunk Enterprise 6.2.5 on Linux

Dependencies

The Python script requires the The Splunk Software Development Kit for Python to be installed.

splunk-hipchat's People

Contributors

jamesryanuk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.