Skip to content

Instantly share code, notes, and snippets.

View cschmidt0121's full-sized avatar

Cameron Schmidt cschmidt0121

View GitHub Profile
@cschmidt0121
cschmidt0121 / modular_alert.py
Last active September 7, 2016 18:35 — forked from LukeMurphey/modular_alert.py
This is a base class that makes the creation of a Splunk modular alert easier. #splunk
import logging
from logging import handlers
import traceback
import sys
import re
import os
import json
import socket # Used for IP Address validation
from splunk.appserver.mrsparkle.lib.util import make_splunkhome_path