Skip to content

Instantly share code, notes, and snippets.

@LukeMurphey
LukeMurphey / splunk_rest_handler.py
Last active February 1, 2023 22:56
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):