> For the complete documentation index, see [llms.txt](https://docs.spike.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spike.sh/integrations-guideline/integrate-spike-with-sumo-logic.md).

# Integrate Spike with Sumo Logic

Connect Sumo Logic to Spike via webhook so log analytics alerts trigger real-time on-call incidents immediately.

### Service and integration

Make sure to add the Sumo Logic integration and copy the webhook.

{% content-ref url="/pages/-Ln3rb4wLUFeI-OAPcmq" %}
[Create integration and service on our dashboard](/integrations-guideline/create-integration-and-service-on-dashboard.md)
{% endcontent-ref %}

### Using Webhooks with Sumo Logic

**Step 1**

Navigate to the alerts page and open the connections tab.

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-7398db721698d1a02cdf922609f3c3d96ff326fd%2FGroup%2028.png?alt=media)

**Step 2**

Select the webhook connection type.

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-ccf7d38bdc33b81a100d2a3b6e4ab1807d34d9ad%2FGroup%2027.png?alt=media)

**Step 3**

Paste the Spike webhook URL and the JSON provided below.

![](https://1743514643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ln3jS1bJTTsE3yoEcOu%2Fuploads%2Fgit-blob-1a5e82ba9ffdfd1ba73208874d43064b70ac2432%2FGroup%2026.png?alt=media)

```
{
    "Name": "{{Name}}",
    "Description": "{{Description}}",
    "MonitorType": "{{MonitorType}}",
    "Query": "{{Query}}",
    "QueryURL": "{{QueryURL}}",
    "ResultsJson": "{{ResultsJson}}",
    "NumQueryResults": "{{NumQueryResults}}",
    "Id": "{{Id}}",
    "DetectionMethod": "{{DetectionMethod}}",
    "TriggerType": "{{TriggerType}}",
    "TriggerTimeRange": "{{TriggerTimeRange}}",
    "TriggerTime": "{{TriggerTime}}",
    "TriggerCondition": "{{TriggerCondition}}",
    "TriggerValue": "{{TriggerValue}}",
    "TriggerTimeStart": "{{TriggerTimeStart}}",
    "TriggerTimeEnd": "{{TriggerTimeEnd}}",
    "SourceURL": "{{SourceURL}}"
}
```
