Skip to content

Instantly share code, notes, and snippets.

Avatar

Cameron Schmidt cschmidt0121

View GitHub Profile
@cschmidt0121
cschmidt0121 / modular_alert.py
Last active Sep 7, 2016 — forked from LukeMurphey/modular_alert.py
This is a base class that makes the creation of a Splunk modular alert easier. #splunk
View modular_alert.py
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