Set up Splunk Cloud Connect to use the agentic SOC
Set up Splunk Cloud Connect to use the agentic capabilities in Splunk Enterprise Security by connecting on-premises deployments of Splunk Enterprise Security with Splunk Cloud Services (SCS) security extensions.
*api.scs.splunk.com:443*auth.scs.splunk.com:443
Prerequisites to use the agentic SOC with Splunk Cloud Connect
Meet the following prerequisites to use the agentic SOC with Splunk Cloud Connect:
- Splunk Platform version 10.4 or higher
- Splunk Enterprise Security version 8.8 and higher (Available on
- Splunk Cloud Connect app version 2.0 or higher (must be downloaded from for Splunk Enterprise Security version 8.8 only)
-
Splunk AI Assistant app version 2.4 or higher (available on Splunkbase)
- See Access Splunk Cloud Connect on Splunkbase to access Cloud extensions in the Splunk app for Cloud Connect manual.
- Also see Troubleshoot common issues using Splunk Cloud Connect.
-
For region availability, see Supported Cloud Connect AWS regions.
Install Splunk Cloud Connect and Splunk AI Assistant from Splunkbase
Follow these steps to upgrade Splunk Cloud Connect and install Splunk AI Assistant:
- For Splunk Enterprise Security version 8.8 only, download the Splunk Cloud Connect app version 2.0 or higher from Splunkbase.
-
Download the Splunk AI Assistant app version 2.4 or higher from Splunkbase.
-
For Splunk Enterprise Security version 8.8 only, install or upgrade Splunk Cloud Connect by ensuring that you select the checkbox to upgrade the app. Go to Apps and select Manage and then select Install App From File.
Note: If upgrading from Splunk Cloud Connect version 1.3, ensure that the Splunk Cloud Connect app is turned off before you upgrade. - Install or upgrade the Splunk AI Assistant app: Go to Apps and select Manage and then select Install App From File.
Set up Splunk Cloud Connect
- In Splunk Platform, go to Apps and select Splunk Cloud Connect.
- Select the deployed Splunk Cloud region for your connection. For example: US-East; US-West.
- Enter a preferred tenant name or identifier. For example,
mytenant, my-tenant, t-name-123.Note: The preferred tenant identifier must begin with one or more lowercase alphanumeric characters, which is optionally followed by hyphen-separated segments of length between 3 and 63 characters. Domain URLs and GUIDs are not supported. Additionally, the segments cannot start or end with a hyphen. - Enter an email address associated with your Splunk purchase account or the Salesforce (SFDC) email associated with your Splunk license account.
- Select the checkbox and agree to the
General Terms. - Select Submit.
- Select Confirm and continue to confirm your Splunk Cloud Connect information.
- Get the one-time passcode from your email and enter the passcode.
- Select Submit.
- Wait for the onboarding process to complete.
Note: You might receive some warnings indicating that AI assisted features are not set up. You can ignore those warnings.Note: If there is an error during health checks, a temporary error log is added, which must be deleted from the disk. The format of the error is as follows:
ERROR utils.scs_utils: Failed to delete temporary key file /tmp/tmpx7k2m_9q.pem: <ERROR MSG>; manual cleanup may be needed.. If the authentication process is successful, your Cloud connection is activated, and your Cloud resources are provisioned. For troubleshooting common UI issues, see Troubleshoot common issues using Splunk Cloud Connect.
Add an authentication certificate to Splunk Cloud Connect
You must authenticate the connection to Splunk Cloud Connect using an authentication certificate. This ensures a secure link between your on-premises deployment and Splunk Cloud Services.
You can add a PEM certificate file to the [oauth2_settings] stanza in the $SPLUNK_HOME/etc/system/local/authentication.conf configuration file. The certificate file must be the same file across all search heads in a search head cluster. For more information, see authentication.conf file in the Splunk Enterprise Admin manual.
[oauth2_settings]
certFile = <absolute_path_to_cert_file>.pem
sslPassword = <password>
Follow these steps to add a PEM certificate:
- Run the following curl command and replace the
<user-name>,<password>,<absolute-path-to-cert>,$CERT_PASSWORD, and<tenant-ip>with the relevant details from your Splunk deployment.CODEcurl -sku '<user-name>:<password>' -X POST -d 'name=oauth2_settings' -d 'certFile=<absolute-path-to-cert>.pem' -d "sslPassword=$CERT_PASSWORD" 'https://<tenant-ip>:8089/servicesNS/nobody/system/configs/conf-authentication?output_mode=json' - Use the
reloadendpoint to ensure that the certificate is refreshed and replace the<user-name>,<password>, and<tenant-ip>with the relevant details from your Splunk deployment.CODEcurl -sk -u '<user-name>:<password>' -X POST 'https://<tenant-ip>:8089/services/admin/tokens-keys/_reload?output_mode=json' -
Wait for a minute to pick up the certificate changes to set up using Splunk Splunk Cloud Connect automatically.
Configure the Splunk AI Assistant
Follow these instructions to configure the Splunk AI Assistant for SPL.
Validate the AI Assistant for SPL and Enterprise Security with Splunk Cloud Connect
-
Open the Splunk AI Assistant for SPL and enter a simple prompt. For example,
"Write SPL to find the last 5 events in the Windows Event Log index". If you cannot open the Splunk AI Assistant for SPL or it does not work, contact support. - Create a new event-based-detection in Splunk Enterprise Security by going to to Security Content .
- Select Content Management and then select Create new content.
- Select Detection and then select Event-based detection .
-
Open the Detection Builder Agent.
- Enter a simple prompt to validate the Detection Builder Agent. For example,
"Build a detection to detect 10 failed administrator logins in the Windows Event Logs that generates a finding and runs once an hour at a random time."Contact support to troubleshoot any issues.
Activate Splunk Enterprise Security and Splunk AI Assistant for SPL services using Splunk Cloud Connect
Follow these steps to activate Splunk Enterprise Security services on Splunk Cloud Connect:
- In the Cloud Connect Overview page, go to Available features.
- Select the Activate button for Splunk Enterprise Security Essentials or Premier.
Note: Wait for the activation to complete. This can take a few minutes. Do not attempt to activate other products or refresh the page.
- Activate Splunk AI Assistant for SPL and wait for it to complete.