Skip to content

pulumi/pulumi-splunk

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

Splunk Resource Provider

The Splunk Resource Provider lets you manage Splunk resources.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/splunk

or yarn:

$ yarn add @pulumi/splunk

Python

To use from Python, install using pip:

$ pip install pulumi_splunk

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-splunk/sdk

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.Splunk

Configuration

The following configuration points are available:

  • splunk:url - (Required) The URL for the Splunk instance to be configured. (The provider uses https as the default schema as prefix to the URL) It can also be sourced from the SPLUNK_URL environment variable.
  • splunk:username - (Optional) The username to access the Splunk instance to be configured. It can also be sourced from the SPLUNK_USERNAME environment variable.
  • splunk:password - (Optional) The password to access the Splunk instance to be configured. It can also be sourced from the SPLUNK_PASSWORD environment variable.
  • splunk:authToken - (Optional) Use auth token instead of username and password to configure Splunk instance. If specified, auth token takes priority over username/password. It can also be sourced from the SPLUNK_AUTH_TOKEN environment variable.
  • splunk:insecureSkipVerify -(Optional) Insecure skip verification flag (Defaults to true) It can also be sourced from the SPLUNK_INSECURE_SKIP_VERIFY environment variable.
  • splunk:timeout - (Optional) Timeout when making calls to Splunk server. (Defaults to 60 seconds) It can also be sourced from the SPLUNK_TIMEOUT environment variable.

Reference

For further information, please visit the Splunk provider docs or for detailed reference documentation, please visit the API docs.