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.
To integrate Loggly with Teams, obtain a WebHook URL to enable Loggly to authenticate.
In Microsoft Teams, click the channel that will receive the Loggly alerts. Choose More options (⋯) next to the channel name and then click Connectors.
Locate Incoming Webhook in the list of Connectors, click Add, and click Add.
Enter a name for the webhook, upload an image to associate with Loggly alerts, and click Create.
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.
Click Done to finish adding an incoming webhook to the channel.
Now that you have a Webhook URL, set up a Microsoft Teams alert endpoint in Loggly.
- In the navigation menu click Alerts > Alerts Endpoint. Click Create Endpoint to add an alerting endpoint.
Select Microsoft Teams Endpoint from the Endpoint drop-down menu.
- Enter a Name and Description for the endpoint in the corresponding fields.
- 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.
To create a Loggly Alert:
In the navigation menu, click Alerts > Alert List to view the list of Loggly alerts. Click Add New to open the Add Alert page.
Enter an alert name and description.
Select a saved search and enter additional information to define your alert conditions. See Alerts for more information.
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.
Click Save to create the alert.
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.
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.
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.
- Loggly Alerts – More about Alerts in Loggly
- Loggly Alert Endpoints – More about Loggly Alert Endpoints.
When the APM Integrated Experience is enabled, Loggly shares a common navigation and enhanced feature set 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.