Set up notifications for new Health Log Analytics anomaly alerts in either a Slack or Microsoft Teams channel.
Before you begin
Starting with Version 33.0.27 - August 2024,
Health Log Analytics uses the
Microsoft Teams Graph spoke application to send notifications for new anomaly alerts. The new application replaces the
Microsoft Teams spoke plugin, which will be deprecated. If you're using an HLA version earlier than 33.0.27, follow the setup procedure below. Otherwise, refer to
Set up alert notifications in a Microsoft Teams channel.
Role required: evt_mgmt_operator or evt_mgmt_admin
Procedure
-
Create a Webhook URL for a channel in Slack or Microsoft Teams.
Health Log Analytics uses the Webhook to notify about the alerts in the channel.
Perform the appropriate procedure:
- Create a Webhook URL for a channel in Slack
- Create a Webhook URL for a channel in Microsoft Teams
-
Map the Webhook URL for the channel to the application service associated with the alert.
-
Navigate to .
-
Select New.
-
On the form, fill in the fields.
Table 1. Alert Notification Webhook form
| Field |
Description |
| Webhook |
The Webhook URL that you created for the channel. |
| Active |
Select to activate the Webhook. |
| Configuration item |
The application service associated with the alert. If this field is empty, the system uses the default property for the channel: default.slack.webhook.url for Slack or default.teams.webhook.url for Microsoft Teams. |
-
Select Submit.
-
Activate the Health Log Analytics Alert Management rule for submitting alerts to the appropriate channel.
-
Navigate to .
-
Locate the appropriate rule:
- For Slack: Submit HLA alerts to slack.
- For Microsoft Teams: Submit HLA alerts to teams.
-
In the Active column for the rule, set the value to true.
- Optional:
Filter the alerts on which notifications will be sent to the channel.
-
In the Alert Management Rules table, select the rule for your channel.
-
Select Alert Filter.
-
On the form, set the conditions that must be met for sending a notification on the alert to the channel.
-
Select Update.