Splunk v1.2.21 published on Tuesday, Sep 16, 2025 by Pulumi
Splunk Provider
Installation
The Splunk provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/splunk - Python:
pulumi-splunk - Go:
github.com/pulumi/pulumi-splunk/sdk/go/splunk - .NET:
Pulumi.Splunk - Java:
com.pulumi/splunk
Overview
The Splunk provider can interact with the resources supported by Splunk. The provider needs to be configured with the proper credentials before it can be used.
Example Usage
# Pulumi.yaml provider configuration file
name: configuration-example
runtime:
config:
splunk:insecureSkipVerify:
value: true
splunk:password:
value: changeme
splunk:url:
value: localhost:8089
splunk:username:
value: admin
Configuration Reference
Below arguments for the provider can also be set as environment variables.
urlorSPLUNK_URL- (Required) The URL for the Splunk instance to be configured. (The provider useshttpsas the default schema as prefix to the URL)usernameorSPLUNK_USERNAME- (Optional) The username to access the Splunk instance to be configured.passwordorSPLUNK_PASSWORD- (Optional) The password to access the Splunk instance to be configured.authTokenorSPLUNK_AUTH_TOKEN- (Optional) Use auth token instead of username and password to configure Splunk instance. If specified, auth token takes priority over username/password.insecureSkipVerifyorSPLUNK_INSECURE_SKIP_VERIFY- (Optional) Insecure skip verification flag (Defaults totrue)timeoutorSPLUNK_TIMEOUT- (Optional) Timeout when making calls to Splunk server. (Defaults to60 seconds)
(NOTE: Auth token can only be used with certain type of Splunk deployments. Read more on authentication with tokens here: https://docs.splunk.com/Documentation/Splunk/latest/Security/Setupauthenticationwithtokens)
