Skip to main content
Connect Resolve AI to Splunk to query logs and saved searches during investigations.
Prerequisite: First install the Resolve Satellite to create the Splunk connection.

Create Splunk Service Account

First Set up a dedicated service account in Splunk. Create a Service Account User role with “Power” Role to provide access to the Splunk REST API endpoint. Additionally, ensure the role has the rest_access_server_endpoints capability, which is not included in the Power role by default.

Create Splunk authentication token for REST API access

Create REST API endpoint with the Service Account information in the prerequisites. This user will have “Power” Role permissions applied to it.
Official Splunk documentation - Use REST to create authentication tokensRun the following command. Please ensure that you replace the following properties:
  • poweruser-name: This is the username of the service account that was configured.
  • poweruser-password: This is the password of the service account that was configured.
  • splunk-server: This is your Splunk endpoint.
create token via API

Note: When creating Splunk Authentication Token you must copy the Bearer Token. You will not be able to retrieve it from Splunk after creation. Store this token in a secure manner, and do not check into source code. This token will be used in your Resolve AI configuration.

Configure the Splunk Integration in the Satellite

Below is an example of how to setup the Splunk integration in the satellite with the url property as well as using the Kubernetes secret (potentially backed by an AWS secret manager or another mechanism) for authentication. The secret format in this example is for a Splunk REST authentication token.
1

Create a Kubernetes secret

Create a Kubernetes secret of the following form. Note that the structure of the secret is important and for a Splunk authentication token, it must have the top-level key token: ‘token-value’.
secret creation
Security Best Practice: Never store credentials in plaintext in configuration files or source control. Always use Kubernetes secrets and encrypt etcd or use enterprise secret management systems. See Secret Management for detailed guidance.
To apply the secret run
apply secret
2

Configure your Splunk authentication token in the Resolve Satellite

Update your helm values override file with the following information (e.g.: resolve-values.yaml)
resolve-values.yaml
mandatoryQueryFields: Ensure every query generated by Resolve includes explicit scoping labels, preventing overly broad wildcard searches and ensuring efficient, targeted query execution. The example above includes index, splunk_server_group, and sourcetype.
Install the satellite and apply the values from the yaml file that you have just updated. e.g.: resolve-values.yaml. To find the latest version, visit Resolve AI’s docker hub repository for the helm chart and satellite image.
apply config to satellite and redeploy
Once your satellite is deployed, we will automatically create an integration instance for you.
3

Verify your integration status in Resolve AI

In Resolve AI, go to the Splunk Integration Page to validate that the health checks were successful.

Send alerts to Resolve AI via webhook

If you use create and manage alerts in Splunk, follow the steps to complete the alert integration for your environment.
1

Go to the Splunk integration

Go to the Splunk integration you have set up and click into it.
2

Scroll down to the Webhooks section

Scroll down to the Webhooks section. Click “Edit”.
3

Add a new Webhook token

Click on the ”+” icon to add a new Webhook token. Click “Save”.
4

Add a new webhook integration in Splunk

Follow the instructions to add a new webhook integration in Splunk.
  • Log into your Splunk instance.
  • Add the Resolve AI webhook URL to your alert actions.
    • You’ll find this webhook URL in your Resolve AI setup instructions.
    • In Splunk, navigate to the alert(s) you want to forward and add the URL as a webhook alert action.
    • Ensure that the alert(s) you want to forward to Resolve AI have “Sharing” set to “App” or “Global”.
  • Allowlist the Resolve AI webhook endpoint.
    • Ensure the provided URL is included in Splunk’s webhook allowlist so alerts can be sent successfully.

(Optional) Obfuscate Resolve AI webhook API and token in Splunk internal logs

As an additional layer of security, mask the Resolve AI URI in the Splunk _internal index. The official Splunk documentation can be found here: Anonymize data in Splunk
1

Create a props.conf file

Create a props.conf file on the Splunk Search heads that will be sending the Splunk Alert to Resolve AI in the /opt/splunk/etc/system/local directory.
2

Place the following code in that props.conf file

Place the following code in that props.conf file
props.conf
3

Restart splunkd process to apply changes in props.conf

Restart splunkd process to apply changes in props.confOption 1: CLI restart
CLI restart
Option 2: GUI restartNavigate to Settings > Server Controls > Restart Splunk