Getting Started
Connecting to Splunk
For information on the available WHL and TAR.GZ files for supported environments, and how to install the appropriate file for your Python distribution, see Package Installation.For information on the module to import, and how to configure the necessary connection properties in a connection string, see Establishing a Connection.
Other available connection properties can be used to configure other aspects of the connector capabilities.
Python Version Support
The CData Python Connector for Splunk can be installed and used in various Python 3.8, 3.9, 3.10, and 3.11 distributions.
Splunk Version Support
The connector leverages the Splunk REST API to enable you to access data models in Splunk Enterprise or Splunk Cloud as relational databases, enabling bidirectional access to reports, datasets, and table datasets. It supports Splunk Enterprise v9.1.2 and Splunk Cloud v9.1.2038.Note: Splunk does not enable access to their API for users with free trial accounts. Connecting using the connector requires a paid Splunk account.
See Also
- Using the Connector: Establish connections and query Splunk through Python code.
- From SQLAlchemy: Use SQLAlchemy to establish a connection with dialect URL, and interact with Splunk data using mapped classes and Sessions.