Documentation forLoggly

Teams Integration

Loggly provides Microsoft Teams integration for sending alerts to a Teams channel using WebHook. To set up a Teams integration, set up a Microsoft Teams Incoming WebHook and configure a Loggly alert to post alert messages from Loggly to a Teams channel.

Add an Incoming Webhook to a Teams Channel

To integrate Loggly with Teams, obtain a WebHook URL to enable Loggly to authenticate.

  1. In Microsoft Teams, click the channel that will receive the Loggly alerts. Choose More options (⋯) next to the channel name and then click Connectors.

  2. Locate Incoming Webhook in the list of Connectors, click Add, and click Add.

  3. Enter a name for the webhook, upload an image to associate with Loggly alerts, and click Create.

  4. Copy the webhook URL to the clipboard and save it somewhere safe. You'll need the webhook URL when creating a Microsoft Teams Alert Endpoint in Loggly.

    Microsoft Teams Webhook

  5. Click Done to finish adding an incoming webhook to the channel.

Create a Microsoft Teams Alert EndPoint

Now that you have a Webhook URL, set up a Microsoft Teams alert endpoint in Loggly.

  1. In the navigation menu click Alerts > Alerts Endpoint. Click Create Endpoint to add an alerting endpoint.
  2. Select Microsoft Teams Endpoint from the Endpoint drop-down menu.

    Microsoft Teams Endpoint

  3. Enter a Name and Description for the endpoint in the corresponding fields.
  4. Enter the Webhook URL in the field provided. Use the webhook URL you saved when adding an incoming webhook to the Teams channel.

This alert endpoint is now available as an option when you create Loggly alerts.

Create a Loggly Alert

To create a Loggly Alert:

  1. In the navigation menu, click Alerts > Alert List to view the list of Loggly alerts. Click Add New to open the Add Alert page.

    Add an alert

  2. Enter an alert name and description.

  3. Select a saved search and enter additional information to define your alert conditions. See Alerts for more information.

  4. In the Then pane, select the Send to an Endpoint check-box, and then select the Microsoft Teams endpoint you just created from the drop-down menu.

  5. Click Save to create the alert.

Enabling Room Notifications for Teams

To call attention to alert notifications in Teams channels, click the gear icon and check "Send a notification in Microsoft Teams". After enabling this, channel members will be notified of new Loggly alerts.

Verify that Your Alerts are Reaching to your Teams Channel

To test your new alert, generate some logs that will trigger your alert. Wait a few minutes for the alert to run, then check your Teams channel for the messages.

loggly-message

Troubleshooting

If your Teams channel does not receive your alerts, try performing the following actions:

  • Check the spark line graph on the Alerts page to verify that the alert was triggered.
  • Check the frequency the alert is set to run and wait for at least that long to see if the alert triggered.
  • Search or post questions in the community forum.

Advanced Alert Options

When the APM Integrated Experience is enabled, Loggly shares a common navigation and settings with the other integrated experiences' products. How you navigate Loggly and access its features may vary from these instructions. For more information, go to the APM Integrated Experience documentation.