Integrations guideline
Additional resources
Powered By GitBook
Integrate Spike with Elastic Cloud

Service and integration

Make sure to add the Elastic Cloud integration and copying the webhook.

Using Webhooks with Elastic Cloud

Step 1
In the alerts and insights section, navigate to rules and connections. Then create a new rule.
Step 2
While creating a rule, select the webhook action.
Step 3
Paste the Spike webhook URL and save.
Step 4
Paste the JSON payload provided below for the webhook action.
1
{
2
"kibanaBaseUrl": "{{kibanaBaseUrl}}",
3
"alert": {
4
"actionGroup": "{{alert.actionGroup}}",
5
"actionGroupName": "{{alert.actionGroupName}}",
6
"actionSubgroup": "{{alert.actionSubgroup}}",
7
"id": "{{alert.id}}"
8
},
9
"context": {
10
"anomalyExplorerUrl": "{{{context.anomalyExplorerUrl}}}",
11
"isInterim": "{{context.isInterim}}",
12
"jobIds": "{{context.jobIds}}",
13
"message": "{{context.message}}",
14
"score": "{{context.score}}",
15
"timestamp": "{{context.timestamp}}"
16
},
17
"rule": {
18
"id": "{{rule.id}}",
19
"name": "{{rule.name}}",
20
"tags": "{{rule.tags}}",
21
"type": "{{rule.type}}"
22
}
23
}
Copied!
Last modified 4mo ago