Welcome to the API reference for the Splunk SDK for Python, which describes the modules that are included in the SDK. For more information, see the Splunk Developer Portal.

splunklib.binding

connect() function

namespace() function

Context class

ResponseReader class

Exceptions

handler() function

AuthenticationError class

Custom HTTP handler

HTTPError class

HttpLib class

splunklib.client

connect() function

Service class

Endpoint base class

Entities and collections

Entity class

Collection class

ReadOnlyCollection class

Application class

AlertGroup class

ConfigurationFile class

Stanza class

Configurations class

Index class

Indexes class

Input class

Inputs class

Job class

Jobs class

Loggers class

Message class

ModularInputKind class

Role class

Roles class

SavedSearch class

SavedSearches class

Settings class

User class

Users class

Exceptions

AmbiguousReferenceException class

IllegalOperationException class

IncomparableException class

InvalidNameException class

NoSuchCapability class

NotSupportedError class

OperationError class

splunklib.data

load() function

record() function

Record class