Skip to content

Instantly share code, notes, and snippets.

@sduff
sduff / splunk_search.py
Created September 5, 2017 06:04
Splunk search via Python, using Requests
import time # need for sleep
from xml.dom import minidom
import json, pprint
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

Keybase proof

I hereby claim:

  • I am sduff on github.
  • I am sduff (https://keybase.io/sduff) on keybase.
  • I have a public key whose fingerprint is AF46 80FD 273B CEE0 FDEE 56B9 D2A5 9C26 9D71 78FB

To claim this, I am signing this object: