Skip to content

Commit d8e5a5f

Browse files
Merge pull request #241510 from AbbyMSFT/custom-props
edit to custom properties section
2 parents a35613c + 5690803 commit d8e5a5f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

articles/azure-monitor/alerts/alerts-create-new-alert-rule.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,15 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
249249
250250
1. On the **Actions** tab, select or create the required [action groups](./action-groups.md).
251251
252-
1. (Optional) In the <a name="custom-props">**Custom properties**</a> section, if you've configured action groups for this alert rule, you can add custom properties in key:value pairs to the alert notification payload to add more information to it. Add the property **Name** and **Value** for the custom property you want included in the payload.
252+
1. <a name="custom-props"></a>(Optional) In the **Custom properties** section, if you've configured action groups for this alert rule, you can add your own properties to include in the alert notification payload. You can use these properties in the actions called by the action group, such as webhook, Azure function or logic app actions.
253253
254-
You can also use custom properties to extract and manipulate data from alert payloads that use the [common schema](alerts-common-schema.md). You can use those values in the action group webhook or logic app.
255-
256-
> [!NOTE]
257-
> In this phase the custom properties are not part of the e-mail template
254+
The custom properties are specified as key:value pairs, using either static text, a dynamic value extracted from the alert payload, or a combination of both.
255+
256+
The format for extracting a dynamic value from the alert payload is: `${<path to schema field>}`. For example: ${data.essentials.monitorCondition}.
258257
259-
The format for extracting values from the common schema, use a "$", and then the path of the [Common alert schema](alerts-common-schema.md) field inside curly brackets. For example: `${data.essentials.monitorCondition}`.
258+
Use the [common alert schema](alerts-common-schema.md) format to specify the field in the payload, whether or not the action groups configured for the alert rule use the common schema.
260259
261-
In the following examples, values in the **custom properties** are used to utilize data from the payload:
260+
In the following examples, values in the **custom properties** are used to utilize data from a payload that uses the common alert schema:
262261
263262
**Example 1**
264263
@@ -318,7 +317,7 @@ Alerts triggered by these alert rules contain a payload that uses the [common al
318317
1. Select the **Severity**.
319318
1. Enter values for the **Alert rule name** and the **Alert rule description**.
320319
1. Select the **Region**.
321-
1. In the <a name="managed-id">**Identity**</a> section, select which identity is used by the log alert rule to send the log query. This identity is used for authentication when the alert rule executes the log query.
320+
1. <a name="managed-id"></a>In the **Identity** section, select which identity is used by the log alert rule to send the log query. This identity is used for authentication when the alert rule executes the log query.
322321
323322
Keep these things in mind when selecting an identity:
324323
- A managed identity is required if you're sending a query to Azure Data Explorer.

0 commit comments

Comments
 (0)