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
Built Distribution
File details
Details for the file splunk-sdk928-0.0.1.tar.gz
.
File metadata
- Download URL: splunk-sdk928-0.0.1.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df9084c4b387548db5995875fcae34b54e7b838e159f8b8ea9716b1c750cc136 |
|
MD5 | 28b389c767de9534f3b751fa4c429832 |
|
BLAKE2b-256 | c6815e8821554dd123e339c87c597b7336ff63e873c46780b04f18ab83054893 |
File details
Details for the file splunk_sdk928-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: splunk_sdk928-0.0.1-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baed301345ef46e2d7e5de4c07e4b1d6c8f3191479e880974cea5bb6cf3a5caf |
|
MD5 | cbd058172984658d292b288769f50976 |
|
BLAKE2b-256 | bac5aa4ffad63d556956dfeeb1994f83fb4e28bfdecd4290b5f9d3196c981b54 |