A Splunk SDK that expands on Splunklib API provided by Splunk to help orchestrate continual processes
Project description
splunk-sdk
Description: Splunk SDK Extension of Splunk Library
Sample Usage with .env
configured.
from dotenv import load_dotenv
import os
from splunksdk.splunk import SplunkApi
load_dotenv()
# Create a splunk instance
s = SplunkApi(**os.environ)
# Display available collections
s.KVstore.collections
# Run a search
s.Search.start_search(query="|inputlookup filename")
# Get Search
s.Search.get_results()
# Jobs are stored in attributes
s.Search.search_resp
s.Search.csv_results
s.json_cols_results
Changelog
Version
v0.0.1
- Updates to
SplunkAPI
.
v0.0.0
- Initial release.
Security Policy
Supported Versions
Use this section to tell people about which versions of your project are currently being supported with security updates.
Version | Supported |
---|---|
0.0.1 | :white_check_mark: |
Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a reported vulnerability, what to expect if the vulnerability is accepted or declined, etc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
splunk-sdk928-0.0.1.tar.gz
(47.0 kB
view hashes)
Built Distribution
Close
Hashes for splunk_sdk928-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baed301345ef46e2d7e5de4c07e4b1d6c8f3191479e880974cea5bb6cf3a5caf |
|
MD5 | cbd058172984658d292b288769f50976 |
|
BLAKE2b-256 | bac5aa4ffad63d556956dfeeb1994f83fb4e28bfdecd4290b5f9d3196c981b54 |