Skip to main content

splunk-toolbox

Version 1.2.0

A better wrapper around the Splunk ITSI Rest API and Splunk Core API for anyone feeling the pain

Intended Runtime & Required Packages

** Python V3.x ** see requirements.txt for requirements

Version table

  • 1.0.0 initial PoC/format
  • 1.1.0 added Post update to ITSI Notable Event Group
  • 1.1.1 bugfix & clarification of requirements for post_update_to_notable_event_group
  • 1.1.2 added handler for status code interpretation to post update to notable event group
  • 1.2.0 added splunk retrieve search jobs and save them as XML to the toolbox

Intended to solve stability issues produced by the product itself.

Splunk Toolbox Bio

This is a wrapper around the ITSI API. Where the ITSI API is not functioning, we are using sftp calls instead or core API.

Example Uses

Retrieve active search jobs from ITSI

splunk_server = splunkInstance(authPass='mypass')
splunk_server.retrieve_search_jobs(recordSearches=1)

Post updates to ITSI Notable Event Group

splunk_server = splunkInstance(authPass='mypass')
payload ={"status":"5"}
splunk_server.post_update_to_notable_event_group(payload=payload, )

Retrieve all Splunk Core Searches on a given server

if record Searches == 1, a file with the name recordedSearches.xml will be generated and saved with todays date and time

splunk_server = splunkInstance(host='someIP', authPass='PASS')
splunk_server.retrieve_configured_saved_searches(recordSearches=1)

Metadata

Release files for splunk-toolbox 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for splunk-toolbox 1.2.0
File Size Uploaded Provenance Actions
splunk-toolbox-1.2.0.macosx-10.13-x86_64.tar.gz 8.8 kB Without provenance Details for splunk-toolbox-1.2.0.macosx-10.13-x86_64.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for splunk-toolbox 1.2.0
File Interpreter ABI Platform Actions
splunk_toolbox-1.2.0-py3-none-any.whl Python 3 none any Details for splunk_toolbox-1.2.0-py3-none-any.whl

Total release size: 15.4 kB

Release files / splunk-toolbox-1.2.0.macosx-10.13-x86_64.tar.gz

Download URL splunk-toolbox-1.2.0.macosx-10.13-x86_64.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4062f33f6e07f80f9ffa41d721bf8cfca5691726172bc7f5445da48780cd53cb
BLAKE2b-256 checksum
How to use checksums
c0a9f877e1a25170636054f66ed4e0a4ede9e7f65c75e38223a26ce59df97a08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

Release files / splunk_toolbox-1.2.0-py3-none-any.whl

Download URL splunk_toolbox-1.2.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43c5a2f585060405b60210f7846ccd37d2db21022898ba17f11dab93f1818fec
BLAKE2b-256 checksum
How to use checksums
5097e56ed6bc4321905917a8465e6bfeea111a7cb75ba1ed2bf3598e7943d3e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

Security for splunk-toolbox 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page