@@ -204,25 +204,25 @@ Following are sample queries that you can use to help you monitor your Azure Ser
204
204
| summarize by NamespaceName, EventName
205
205
```
206
206
207
- + Get failed send message events for namespace
207
+ + Get Send message events for namespace
208
208
209
209
```kusto
210
210
AZMSRunTimeAuditLogs
211
211
| extend NamespaceInfo = tostring(split(_ResourceId, "/")[8])
212
212
| where Provider =~ "ServiceBus"
213
- | where isnotnull(NamespaceInfo) and Status != "Success" and ActivityName = "SendMessage"
213
+ | where isnotnull(NamespaceInfo) and ActivityName = "SendMessage"
214
214
| project NamespaceInfo, ActivityName, Protocol, NetworkType, ClientIp, ResourceId
215
215
| summarize by NamespaceInfo, ActivityName
216
216
```
217
- + Get Failed authorization results for SAS key
218
-
219
- ```kusto
220
- AZMSRunTimeAuditLogs
221
- | extend NamespaceInfo = tostring(split(_ResourceId, "/")[8])
222
- | where Provider =~ "ServiceBus"
223
- | where isnotnull(NamespaceInfo) and isnotnull(AuthKey) and AuthType == "AAD" and Status != "Success"
224
- | project NamespaceInfo, AuthKey, ActivityName, Protocol, NetworkType, ClientIp, ResourceId
225
- | summarize by NamespaceInfo, AuthKey, ActivityName
217
+ + Get Failed authorization results for AAD
218
+
219
+ ```kusto
220
+ AZMSRunTimeAuditLogs
221
+ | extend NamespaceInfo = tostring(split(_ResourceId, "/")[8])
222
+ | where Provider =~ "ServiceBus"
223
+ | where isnotnull(NamespaceInfo) and isnotnull(AuthKey) and AuthType == "AAD" and Status != "Success"
224
+ | project NamespaceInfo, AuthKey, ActivityName, Protocol, NetworkType, ClientIp, ResourceId
225
+ | summarize by NamespaceInfo, AuthKey, ActivityName
226
226
```
227
227
228
228
## Alerts
0 commit comments