Skip to content

Commit ba2a4cd

Browse files
committed
final fixes
1 parent d771808 commit ba2a4cd

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

articles/azure-monitor/alerts/alerts-logic-apps.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Customize alert notifications using Logic Apps
3-
description: Learn how to create a logic app action to process Azure Monitor alerts.
3+
description: Learn how to create a logic app to process Azure Monitor alerts.
44
author: EdB-MSFT
55
ms.topic: conceptual
66
ms.date: 09/07/2022
@@ -24,17 +24,17 @@ This article shows you how to create a Logic App and integrate it with an Azure
2424
In this example, we'll use the following steps to create a Logic App that uses the [common alerts schema](./alerts-common-schema.md) to send details from the alert. The example uses the following steps:
2525

2626
1. [Create a Logic App](#create-a-logic-app) for sending an email or a Teams post.
27-
1. [Create an alert action group](#create-an-action-group) that triggers the logic app
27+
1. [Create an alert action group](#create-an-action-group) that triggers the logic app.
2828
1. [Create a rule](#create-a-rule-using-your-action-group) the uses the action group.
2929
## Create a Logic App
3030

31-
1. Create a new Logic app. Set **Logic App name** , select **Consumption Plan type**
31+
1. Create a new Logic app. Set **Logic App name** , select **Consumption Plan type**.
3232
1. Select **Review + create**, then select **Create**.
3333
1. Select **Go to resource** when the deployment is complete.
3434
:::image type="content" source="./media/alerts-logic-apps/create-logic-app.png" alt-text="A screenshot showing the create logic app page":::
35-
1. On the Logic Apps Designer page, select **When a HTTP request is received**
36-
:::image type="content" source="./media/alerts-logic-apps/logic-apps-designer.png" alt-text="A screenshot showing the Logic Apps designer start page":::
37-
1. Select the **When a HTTP request is received** tile
35+
1. On the Logic Apps Designer page, select **When a HTTP request is received**.
36+
:::image type="content" source="./media/alerts-logic-apps/logic-apps-designer.png" alt-text="A screenshot showing the Logic Apps designer start page":::
37+
3838
1. Paste the common alert schema into the **Request Body JSON Schema** field from the following JSON:
3939
```json
4040
{
@@ -102,10 +102,11 @@ In this example, we'll use the following steps to create a Logic App that uses t
102102
}
103103
}
104104
```
105-
7. Select the **+** icon to insert a new step.
105+
106+
1. Select the **+** icon to insert a new step.
106107
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="A screenshot showing the parameters for the when http request received step":::
107108

108-
Send an email or post a Teams message.
109+
1. Send an email or post a Teams message.
109110

110111
## [Send an email](#tab/send-email)
111112

@@ -123,11 +124,11 @@ For example:
123124
1. In the **Subject** field, create the subject text by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list.
124125
For example:
125126
- Enter *Alert:* and select **alertRule** from the **Dynamic content** list.
126-
- Then enter *with severity:* and select **severity** from the **Dynamic content** list
127+
- Then enter *with severity:* and select **severity** from the **Dynamic content** list.
127128
- Enter *has condition:* and select **monitorCondition** from the **Dynamic content** list.
128129

129130
1. Enter the email address to send the alert to in the **To** field.
130-
1. Select **Save**
131+
1. Select **Save**.
131132

132133
:::image type="content" source="./media/alerts-logic-apps/configure-email.png" alt-text="A screenshot showing the parameters tab for the send email action.":::
133134

@@ -167,7 +168,7 @@ To trigger your Logic app, create an action group, then create an alert that use
167168
1. Go to the Azure Monitor page and select **Alerts** from the sidebar.
168169
1. Select **Action groups**, then select **Create**.
169170
1. Select a **Subscription**, **Resource group** and **Region**.
170-
1. Enter an **Actions group name** and **Display name**
171+
1. Enter an **Actions group name** and **Display name**.
171172
1. Select the **Actions** tab.
172173
:::image type="content" source="./media/alerts-logic-apps/create-action-group.png" alt-text="A screenshot showing the actions tab of a create action group page":::
173174
1. In the **Actions** tab under **Action type**, select **Logic App**.
@@ -178,13 +179,13 @@ To trigger your Logic app, create an action group, then create an alert that use
178179
1. Select **Review + create**, the **Create**.
179180
:::image type="content" source="./media/alerts-logic-apps/create-action-group-actions.png" alt-text="A screenshot showing the Logic Apps blade of a create action group, actions tab":::
180181

181-
## Test your action group.
182+
## Test your action group
182183

183184
1. Select your action group.
184-
1. In the **Logic App** section, select **Test action group(preview)**
185+
1. In the **Logic App** section, select **Test action group(preview)**.
185186
:::image type="content" source="./media/alerts-logic-apps/test-action-group1.png" alt-text="A screenshot showing an action group details page with test action group highlighted":::
186187
1. Select a **Sample alert type** from the dropdown.
187-
1. Select **Test**
188+
1. Select **Test**.
188189
:::image type="content" source="./media/alerts-logic-apps/test-action-group2.png" alt-text="A screenshot showing an action group details test page":::
189190

190191
The following email will be sent to the specified account:
@@ -193,9 +194,9 @@ To trigger your Logic app, create an action group, then create an alert that use
193194

194195
## Create a rule using your action group
195196
1. Create a rule for one of your resources.
196-
1. In the actions section of your rule, select **Select action groups**
197+
1. In the actions section of your rule, select **Select action groups**.
197198
1. Select your action group from the list.
198-
1. Select **Select**
199+
1. Select **Select**.
199200
1. Finish the creation of your rule.
200201
:::image type="content" source="./media/alerts-logic-apps/select-action-groups.png" alt-text="A screenshot showing the actions tab of the create rules page and the select action groups blade.":::
201202

0 Bytes
Loading

0 commit comments

Comments
 (0)