splunk-sdk
Splunk Software Development Kit for Python
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained, has no external dependencies, and is the official way to programmatically interact with Splunk. Install it if you need to automate Splunk tasks, build apps, or integrate Splunk into Python workflows. The Python 3.13 requirement is the main constraint—verify your environment supports it before installing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or newer and a running Splunk Enterprise or Cloud instance to connect to.
- Low friction installation with no runtime dependencies.
- Actively maintained with recent commits and a mature codebase since 2011-08-09.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions beyond attribution.
last release 2026-05-12 (94 days) · last repo commit 2026-08-01 · 741 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,695,846 downloads/mo, #3,646 on PyPI
Alternatives
Verify before relying
pip install splunk-sdk
import splunk-sdk
# Connect to Splunk instance with username and password
service = client.connect(host='localhost', username='admin', password='password', autologin=True)- Whether the AI capabilities are production-ready or still experimental.
- Performance characteristics when handling large result sets or high-frequency API calls.
- Compatibility with Splunk Cloud versions and any API differences from Enterprise.
- Specific authentication method requirements and supported token types.
What it is and what it does
The Splunk Enterprise SDK for Python is the official client library for developers building applications and integrations against Splunk's REST API. It abstracts HTTP communication and authentication, allowing you to programmatically search data, manage saved searches, configure inputs, and build custom search commands and modular inputs. The SDK is designed as the primary way to interact with Splunk from Python code, whether you're writing standalone scripts, building Splunk Apps, or integrating Splunk into larger systems.
The package includes modules for client connections, custom search commands, modular inputs, and AI capabilities. It supports multiple authentication methods and provides helpers for common tasks. The library has no external runtime dependencies, making it lightweight to deploy, though it requires Python 3.13 or newer.
Use it for
- Automate searches and retrieve results programmatically from a Splunk instance for reporting or alerting workflows.
- Build custom Splunk Apps with modular inputs that ingest data from external sources into Splunk.
- Develop custom search commands that extend Splunk's search language with domain-specific logic.
- Integrate Splunk data queries into Python applications for real-time monitoring or analytics.
- Manage Splunk configuration and metadata via API rather than the web UI.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained, has no external dependencies, and is the official way to programmatically interact with Splunk. Install it if you need to automate Splunk tasks, build apps, or integrate Splunk into Python workflows. The Python 3.13 requirement is the main constraint—verify your environment supports it before installing.
Install
splunk-sdk on PyPI
Before you install
Low friction installation with no runtime dependencies. Actively maintained with recent commits and a mature codebase since 2011-08-09. Requires Python 3.13 or newer.
Requires Python 3.13 or newer and a running Splunk Enterprise or Cloud instance to connect to.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions beyond attribution.
Quickstart
pip install splunk-sdk
import splunk-sdk
# Connect to Splunk instance with username and password
service = client.connect(host='localhost', username='admin', password='password', autologin=True)
Verify before relying
- Whether the AI capabilities are production-ready or still experimental.
- Performance characteristics when handling large result sets or high-frequency API calls.
- Compatibility with Splunk Cloud versions and any API differences from Enterprise.
- Specific authentication method requirements and supported token types.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 94 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,695,846 / month, #3,646 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureEnvironment :: Other EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules |
Evidence: splunk_sdk-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “splunk rest api client”
- splunk-sdkProvides a Python client library for programmatically interacting…
- signalfxPython client library for sending metrics, events, and metadata to…
- signalflow-client-pythonA Python client library that connects to Splunk Observability Cloud…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also splunk-handler · signalflow-client-python · signalfx · pysigma-backend-splunk · tencentcloud-sdk-python · tencentcloud-sdk-python-common · splunk-hec-handler · podman · kernel · splunk-opentelemetry