Skip to content

Instantly share code, notes, and snippets.

View ashishterp's full-sized avatar

Ashish Bhutiani ashishterp

View GitHub Profile
@ashishterp
ashishterp / slack_alert.py
Last active March 20, 2020 14:50
Splunk Alerting to Slack
# Instructions:
# 1. Go to https://[yourdomain].slack.com/services/new
# 2. Configure a new Incoming WebHook and paste the URL below on Line 14
# 3. Copy this file into $SPLUNK_HOME$/bin/scripts
# 4. Configure your saved search to run slack_alert.py
import httplib, json
import getopt, sys, os
import subprocess
Verifying that +ashishterp is my Bitcoin username. You can send me #bitcoin here: https://onename.io/ashishterp