Skip to content

Commit aa164cd

Browse files
authored
Merge pull request #104597 from yanivlavi/patch-5
Corrected log search alerts flag to IncludeSearchResults
2 parents 9a979ff + 5858958 commit aa164cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/platform/alerts-common-schema-definitions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Understanding the common alert schema definitions for Azure Monitor
44
ms.service: azure-monitor
55
ms.subservice: alerts
66
ms.topic: conceptual
7-
author: anantr
7+
author: ofirmanor
88
ms.author: robb
99
ms.date: 03/14/2019
1010

@@ -147,7 +147,7 @@ Any alert instance describes the resource that was affected and the cause of the
147147
### Log alerts
148148

149149
> [!NOTE]
150-
> For log alerts that have a custom email subject and/or JSON payload defined, enabling the common schema reverts email subject and/or payload schema to the one described as follows. Alerts with the common schema enabled have an upper size limit of 256 KB per alert. Search results aren't embedded in the log alerts payload if they cause the alert size to cross this threshold. You can determine this by checking the flag `IncludedSearchResults`. When the search results aren't included, you should use the search query in conjunction with the [Log Analytics API](https://docs.microsoft.com/rest/api/loganalytics/query/get).
150+
> For log alerts that have a custom email subject and/or JSON payload defined, enabling the common schema reverts email subject and/or payload schema to the one described as follows. Alerts with the common schema enabled have an upper size limit of 256 KB per alert. Search results aren't embedded in the log alerts payload if they cause the alert size to cross this threshold. You can determine this by checking the flag `IncludeSearchResults`. When the search results aren't included, you should use the search query in conjunction with the [Log Analytics API](https://docs.microsoft.com/rest/api/loganalytics/query/get).
151151
152152
#### `monitoringService` = `Log Analytics`
153153

@@ -210,7 +210,7 @@ Any alert instance describes the resource that was affected and the cause of the
210210
}
211211
]
212212
},
213-
"IncludedSearchResults": "True",
213+
"IncludeSearchResults": "True",
214214
"AlertType": "Number of results"
215215
}
216216
}
@@ -273,7 +273,7 @@ Any alert instance describes the resource that was affected and the cause of the
273273
}
274274
]
275275
},
276-
"IncludedSearchResults": "True",
276+
"IncludeSearchResults": "True",
277277
"AlertType": "Number of results"
278278
}
279279
}

0 commit comments

Comments
 (0)