# Loggly

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

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

### Using Loggly as an Alert Source in Squadcast

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

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

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

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-5c5c0acb201a04797545911f60c554ccf7eab493%2FLoggly.png?alt=media\&token=5afa7871-b83c-4cd9-b07a-18c95d9bf258)

{% 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 %}

### Setting up a Squadcast Webhook in Loggly

Now log in to your Loggly account and click on "**Alerts**".

On the alerts page click on "**Alert Endpoints**" and then click on "**Create Endpoint**"

Select the type as "**HTTP Endpoint**", method as "**POST**" and enter the URL obtained earlier.

Enter the appropriate name and description for your endpoint and click on **Save**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-88db06a10f55cdc7b2562ab9d267397a059fa3b8%2Floggly_2.png?alt=media\&token=f0f57c39-db20-4cc6-8c2c-4d29f0fc33c5)

Now you can use this alert endpoint in any of yours alert configuration. Every time here an alert is triggered you will get a corresponding incident in squadcast.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-917a1edf920f01f71c37495f678260f4c40ea788%2Floggly_3.png?alt=media\&token=83124807-5e00-4303-af04-6f08ab20a2a7)

That's it! Your Loggly integration is now good to go.

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