Skip to content

Instantly share code, notes, and snippets.

@mrluu
mrluu / splunk_rest_handler.py
Created February 20, 2020 16:36 — forked from LukeMurphey/splunk_rest_handler.py
This is basic Splunk REST handler that can be used to make custom endpoints in Splunk. Tags: #splunk
import splunk.admin as admin
import splunk.entity as entity
import splunk
import logging
import logging.handlers
import os
import re
import copy
class StandardFieldValidator(object):