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.2.tar.gz
(47.6 kB
view hashes)
Built Distribution
Close
Hashes for splunk_sdk928-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33fdbeb5f7052c6ff4023e94ee595faa93748df5301a16f2c4088082ba29b55 |
|
MD5 | 1a4fc6ca0fe83acd3a645252826d6035 |
|
BLAKE2b-256 | 59b9b6449b717034b619702cea351977204a91583665841b3d83574bd28d0403 |