Splunk Alert Notification
This section explains how to receive ThousandEyes alerts in Splunk using a custom webhook connector and operation.
Set Up Splunk
Log in to Splunk.
Create an HTTP Event Collector (HEC) token in your Splunk instance:
Identify the target endpoint based on your Splunk deployment:
Splunk Cloud Platform:
https://http-inputs-<host>.splunkcloud.com:443/services/collector/eventSplunk Enterprise:
https://<host>:8088/services/collector/event
Set Up ThousandEyes
Create a Connector and Operation
In the ThousandEyes platform, go to Manage > Integrations.
Go to Integrations 2.0 > Integration Templates.

Custom Webhook template in the Integration Templates tab Select Custom Webhook.
Configure the connector:
Name: Enter a descriptive name for the Splunk connector.
Target: Use the target endpoint identified in Set Up Splunk.
Auth Type: Select the Custom authentication type.
Custom Headers: Add an
Authorizationheader with the valueSplunk <HEC Token>.
Click Save & Assign Operation.
Configure the custom webhook operation:
Operation Name: Enter a descriptive name for the operation.
Preset Configurations: Select Splunk.
Custom Headers: Add a
Content-Typeheader with the valueapplication/json.Body: Review the Splunk preset payload.
Click Test to verify the operation:
If the test succeeds, ThousandEyes displays a confirmation message.
If the test fails, verify that the HEC target, HEC token, headers, and payload are correct.
Click Save Integration.

Attach Alert Rules to the Operation
In the ThousandEyes platform, go to Manage > Integrations.
Go to Integrations 2.0 > Operations.
Find the Splunk custom webhook operation.
Click the actions menu (⋮) at the end of the row, then select Manage Alert Rules.
In the Manage Alert Rules panel, select the alert rules you want to send to Splunk.
Click Save.

Receive Alerts in Splunk
Log in to Splunk.
When an alert is triggered, search for the event using the following query:
index="*" eventType="THOUSANDEYES_ALERT_NOTIFICATION"
Sample Output:

Integration with Splunk IT Service Intelligence
Some fields, such as itsiDrilldownURI and app, are required for Splunk IT Service Intelligence (ITSI) application. Splunk ITSI will receive ThousandEyes alerts, analyze them, and aggregate them with other events.
For more information on configuring webhooks, see Custom Webhooks.
Last updated