Create activity log alerts on service notifications

Overview

This article shows you how to set up activity log alerts for service health notifications by using the Azure portal.

You can receive an alert when Azure sends service health notifications to your Azure subscription. You can configure the alert based on:

  • The class of service health notification (Service issues, Planned maintenance, Health advisories).
  • The subscription affected.
  • The service(s) affected.
  • The region(s) affected.

You also can configure who the alert should be sent to:

  • Select an existing action group.
  • Create a new action group (that can be used for future alerts).

To learn more about action groups, see Create and manage action groups.

For information on how to configure service health notification alerts by using Azure Resource Manager templates, see Resource Manager templates.

Create an alert on a service health notification for a new action group by using the Azure portal

  1. In the portal, select Service Health.

    The "Service Health" service

  2. In the Alerts section, select Health alerts.

    The "Health alerts" tab

  3. Select Create service health alert and fill in the fields.

    The "Create service health alert" command

  4. Enter a name in the Activity log alert name box and provide a Description.

    The "Add activity log alert" dialog box

  5. The Subscription box autofills with your current subscription. This subscription is used to save the activity log alert. The alert resource is deployed to this subscription and monitors events in the activity log for it.

  6. Select the Resource group in which the alert resource is created. This isn't the resource group that's monitored by the alert. Instead, it's the resource group where the alert resource is located.

  7. The Event category box is automatically set to Service Health. Optionally, select the Service, Region, and Type of service health notifications that you want to receive.

  8. Under Alert via, select the New action group button. Enter a name in the Action group name box and enter a name in the Short name box. The short name is referenced in the notifications that are sent when this alert fires.

  9. Define a list of receivers by providing the receiver's:

    a. Name: Enter the receiver’s name, alias, or identifier.

    b. Action Type: Select SMS, email, webhook, Azure app, and more.

    c. Details: Based on the action type chosen, enter a phone number, email address, webhook URI, etc.

  10. Select OK to create the alert.

Within a few minutes, the alert is active and begins to trigger based on the conditions you specified during creation.

Learn how to Configure webhook notifications for existing problem management systems. For information on the webhook schema for activity log alerts, see Webhooks for Azure activity log alerts.

Note

The action group defined in these steps is reusable as an existing action group for all future alert definitions.

Create an alert on a service health notification for an existing action group by using the Azure portal

  1. Follow steps 1 through 7 in the previous section to create your service health notification.

  2. Under Alert via, select the Existing action group button. Select the appropriate action group.

  3. Select OK to create the alert.

Within a few minutes, the alert is active and begins to trigger based on the conditions you specified during creation.

Manage your alerts

After you create an alert, it's visible in the Alerts section of Monitor. Select the alert you want to manage to:

  • Edit it.
  • Delete it.
  • Disable or enable it, if you want to temporarily stop or resume receiving notifications for the alert.

Next steps