A simple library for performing Splunk search automation. Provides a thin wrapper around Splunk's REST API to execute searches and retrieve results. Current version 1.0.0, released in 2022, with no recent updates.
pip install splunklibVerified import paths — ran on the pinned version, not inferred.
Basic example: connect to Splunk, run a search, and print results.
Pass verify=False or configure SSL context.
Use 'splunk.example.com' not 'https://splunk.example.com'.
Use username and password parameters.