Splunk¶
Forward Splunk alerts to Robusta via a Splunk webhook alert action.
Prerequisites¶
A Robusta account with API access.
Your Robusta
account_id, found ingenerated_values.yaml.A Robusta API key with
Read/Writeaccess to alerts.Splunk admin access to define alert actions.
Webhook URL¶
https://api.robusta.dev/webhooks?type=alert&origin=splunk&account_id=<ACCOUNT_ID>
Configure Splunk¶
Splunk's built-in Webhook alert action does not let you set custom headers, so authenticate via the URL.
Open or create a Splunk saved search and choose Add Actions → Webhook.
Set the URL to the webhook URL above with
&token=<ROBUSTA_API_KEY>appended, so authentication travels with the request:https://api.robusta.dev/webhooks?type=alert&origin=splunk&account_id=<ACCOUNT_ID>&token=<ROBUSTA_API_KEY>Save the search. If your Splunk environment has the Webhook Alert Action app installed, you can instead set an
Authorization: Bearer <ROBUSTA_API_KEY>header and use the plain webhook URL without&token=….
Verify¶
Trigger the saved search manually. The event should appear in Settings → Delivery Log and on the Robusta timeline.