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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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