Skip to main content

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


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 details)

Uploaded Source

Built Distribution

splunk_sdk928-0.0.2-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file splunk-sdk928-0.0.2.tar.gz.

File metadata

  • Download URL: splunk-sdk928-0.0.2.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for splunk-sdk928-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a76d3356e1688cb927efe84cce7e9650598b20e049d632d98d80bfd7cdbaed83
MD5 c63136b153b15477f7e9f020faafd8d6
BLAKE2b-256 7b732039433fbfccc02ff5ea10485e63e2c15950eea7e05fcf96b6b6f81eee2c

See more details on using hashes here.

File details

Details for the file splunk_sdk928-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for splunk_sdk928-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f33fdbeb5f7052c6ff4023e94ee595faa93748df5301a16f2c4088082ba29b55
MD5 1a4fc6ca0fe83acd3a645252826d6035
BLAKE2b-256 59b9b6449b717034b619702cea351977204a91583665841b3d83574bd28d0403

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page