# Graylog

Follow the steps below to configure a service so as to extract its related alert data from Graylog.

Squadcast will then process this information to create incidents for this service as per your preferences.

### Using Graylog as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](/files/ej4AI9zpOyFu5NZJCbwC)

2\. Select **Graylog**. Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-in-graylog) it within **Graylog.** Finish by clicking **Add Alert Source** -> **Done**.

![](/files/JZexb92D3t8OxjPt1EkQ)

{% hint style="warning" %}
**Important:**

When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook in Graylog

1. Login to your graylog web console and go to **Alert** tab on the top.
2. Click on **Notifications**.
3. Click on **Add new notification**.
4. Select **All messages** on **Notify on Stream**
5. Select **HTTP Alarm Callback** on **Notification type** and click on **Add alert notification**.
6. Give a title to the notification and put the Squadcast web hook url from the previous step on the url field and click on **Save**.

![](/files/aMxLXpPaJzOsxD0DXck1)

Now whenever an alert is triggered by Graylog, an incident will be created automatically in Squadcast.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.squadcast.com/integrations/alert-source-integrations-native/graylog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
