Skip to content

Commit 68356ee

Browse files
authored
Update monitor-service-bus.md
1 parent 1d226da commit 68356ee

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/service-bus-messaging/monitor-service-bus.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,25 +204,25 @@ Following are sample queries that you can use to help you monitor your Azure Ser
204204
| summarize by NamespaceName, EventName
205205
```
206206
207-
+ Get failed send message events for namespace
207+
+ Get Send message events for namespace
208208
209209
```kusto
210210
AZMSRunTimeAuditLogs
211211
| extend NamespaceInfo = tostring(split(_ResourceId, "/")[8])
212212
| where Provider =~ "ServiceBus"
213-
| where isnotnull(NamespaceInfo) and Status != "Success" and ActivityName = "SendMessage"
213+
| where isnotnull(NamespaceInfo) and ActivityName = "SendMessage"
214214
| project NamespaceInfo, ActivityName, Protocol, NetworkType, ClientIp, ResourceId
215215
| summarize by NamespaceInfo, ActivityName
216216
```
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
226226
```
227227

228228
## Alerts

0 commit comments

Comments
 (0)