Overview
To authenticate with Splunk, you need:
- Splunk host - Your Splunk management host including the port (e.g.
my-splunk.example.com:8089).
- Authentication token - A Splunk authentication token sent as a bearer token.
This guide walks you through creating an authentication token in Splunk.
Prerequisites
- A Splunk Enterprise (7.3+) or Splunk Cloud deployment with REST API access on the management port (default
8089).
- A Splunk user with the
edit_tokens_own (or edit_tokens_all) capability.
- Token authentication enabled by a Splunk admin (Settings > Tokens > Enable Token Authentication).
On Splunk Cloud, REST API access on port 8089 is not open by default — open a Splunk Support case to enable it and allowlist your IPs.
Instructions
Step 1: Create an authentication token
- Log in to Splunk Web as a user with token permissions.
- Go to Settings > Tokens.
- Click New Token.
- Set the User the token acts as, an optional Audience, and an Expiration.
- Click Create, then copy the generated token. It is shown only once.
Step 2: Enter credentials in the Connect UI
- Open the form where you need to authenticate with Splunk.
- Enter your Splunk host (including the port, e.g.
my-splunk.example.com:8089) and your authentication token.
- Submit the form, and you should be successfully authenticated.
You are now connected to Splunk.