Skip to main content

Python SDK

The Splunk AO Python SDK on PyPI.

Python SDK GitHub repo

The GitHub repo for the Splunk AO Python SDK.

Installation

If you are using the free version of Splunk Agent Observability, there is no need to set the SPLUNK_AO_CONSOLE_URL environment variable.
If you are using the OpenAI wrapper, you need to install the optional OpenAI dependencies.

Initialization/Authentication

You can configure Splunk Agent Observability using environment variables:
If you are using the free version of Splunk Agent Observability, there is no need to set the SPLUNK_AO_CONSOLE_URL environment variable.