Skip to content

Commit 26e76f2

Browse files
Minor fixes.
1 parent 53df0ed commit 26e76f2

File tree

2 files changed

+65
-69
lines changed

2 files changed

+65
-69
lines changed

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

Lines changed: 63 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The following metrics are *error metrics*.
8989

9090
### Geo-Replication metrics
9191

92-
The following metrics are geo-replication metrics:
92+
The following metrics are *geo-replication* metrics:
9393

9494
- **Replication Lag Duration** The offset in seconds between the latest action on the primary and the secondary regions.
9595
- **Replication Lag Count** The offset in number of operations between the latest action on the primary and the secondary regions.
@@ -165,7 +165,6 @@ Resource specific table entry:
165165
```json
166166

167167
{
168-
169168
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
170169
"EventName": "Retrieve Queue",
171170
"resourceId": "/SUBSCRIPTIONS/<AZURE SUBSCRPTION ID>/RESOURCEGROUPS/<RESOURCE GROUP NAME>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<SERVICE BUS NAMESPACE NAME>",
@@ -176,7 +175,6 @@ Resource specific table entry:
176175
"Caller": "ServiceBus Client",
177176
"type": "AZMSOperationalLogs",
178177
"Provider" : "SERVICEBUS"
179-
180178
}
181179

182180
```
@@ -188,7 +186,7 @@ Operational logs capture all management operations that are performed on the Azu
188186
> [!NOTE]
189187
> To help you better track data operations, we recommend using client-side tracing.
190188
191-
The following management operations are captured in operational logs:
189+
The following management operations are captured in operational logs:
192190

193191
| Scope | Operation |
194192
|-------|-----------|
@@ -243,15 +241,15 @@ Resource specific table entry:
243241

244242
```json
245243
{
246-
"SubscriptionId": "0000000-0000-0000-0000-000000000000",
247-
"NamespaceName": "namespace-name",
248-
"AddressIp": "1.2.3.4",
249-
"Action": "Accept Connection",
250-
"Message": "IP is accepted by IPAddress filter.",
251-
"Count": 1,
252-
"ResourceId": "/SUBSCRIPTIONS/<AZURE SUBSCRIPTION ID>/RESOURCEGROUPS/<RESOURCE GROUP NAME>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<SERVICE BUS NAMESPACE NAME>",
253-
"Provider" : "SERVICEBUS",
254-
"Type": "AZMSVNetConnectionEvents"
244+
"SubscriptionId": "0000000-0000-0000-0000-000000000000",
245+
"NamespaceName": "namespace-name",
246+
"AddressIp": "1.2.3.4",
247+
"Action": "Accept Connection",
248+
"Message": "IP is accepted by IPAddress filter.",
249+
"Count": 1,
250+
"ResourceId": "/SUBSCRIPTIONS/<AZURE SUBSCRIPTION ID>/RESOURCEGROUPS/<RESOURCE GROUP NAME>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<SERVICE BUS NAMESPACE NAME>",
251+
"Provider" : "SERVICEBUS",
252+
"Type": "AZMSVNetConnectionEvents"
255253
}
256254
```
257255

@@ -289,41 +287,39 @@ AzureDiagnostics:
289287

290288
```json
291289
{
292-
"ActivityId": "<activity id>",
293-
"ActivityName": "ConnectionOpen | Authorization | SendMessage | ReceiveMessage | PeekLockMessage",
294-
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<Service Bus namespace>/servicebus/<service bus name>",
295-
"Time": "1/1/2021 8:40:06 PM +00:00",
296-
"Status": "Success | Failure",
297-
"Protocol": "AMQP | HTTP | SBMP",
298-
"AuthType": "SAS | AAD",
299-
"AuthKey": "<AAD Application Name| SAS policy name>",
300-
"NetworkType": "Public | Private",
301-
"ClientIp": "x.x.x.x",
302-
"Count": 1,
303-
"Category": "RuntimeAuditLogs"
304-
}
305-
290+
"ActivityId": "<activity id>",
291+
"ActivityName": "ConnectionOpen | Authorization | SendMessage | ReceiveMessage | PeekLockMessage",
292+
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<Service Bus namespace>/servicebus/<service bus name>",
293+
"Time": "1/1/2021 8:40:06 PM +00:00",
294+
"Status": "Success | Failure",
295+
"Protocol": "AMQP | HTTP | SBMP",
296+
"AuthType": "SAS | AAD",
297+
"AuthKey": "<AAD Application Name| SAS policy name>",
298+
"NetworkType": "Public | Private",
299+
"ClientIp": "x.x.x.x",
300+
"Count": 1,
301+
"Category": "RuntimeAuditLogs"
302+
}
306303
```
307304

308305
Resource specific table entry:
309306

310307
```json
311308
{
312-
"ActivityId": "<activity id>",
313-
"ActivityName": "ConnectionOpen | Authorization | SendMessage | ReceiveMessage | PeekLockMessage",
314-
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<Service Bus namespace>/servicebus/<service bus name>",
315-
"TimeGenerated (UTC)": "1/1/2021 8:40:06 PM +00:00",
316-
"Status": "Success | Failure",
317-
"Protocol": "AMQP | HTTP | SBMP",
318-
"AuthType": "SAS | AAD",
319-
"AuthKey": "<AAD Application Name| SAS policy name>",
320-
"NetworkType": "Public | Private",
321-
"ClientIp": "x.x.x.x",
322-
"Count": 1,
323-
"Provider": "SERVICEBUS",
324-
"Type" : "AZMSRuntimeAuditLogs"
325-
}
326-
309+
"ActivityId": "<activity id>",
310+
"ActivityName": "ConnectionOpen | Authorization | SendMessage | ReceiveMessage | PeekLockMessage",
311+
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<Service Bus namespace>/servicebus/<service bus name>",
312+
"TimeGenerated (UTC)": "1/1/2021 8:40:06 PM +00:00",
313+
"Status": "Success | Failure",
314+
"Protocol": "AMQP | HTTP | SBMP",
315+
"AuthType": "SAS | AAD",
316+
"AuthKey": "<AAD Application Name| SAS policy name>",
317+
"NetworkType": "Public | Private",
318+
"ClientIp": "x.x.x.x",
319+
"Count": 1,
320+
"Provider": "SERVICEBUS",
321+
"Type" : "AZMSRuntimeAuditLogs"
322+
}
327323
```
328324

329325
## Diagnostic Error Logs
@@ -352,39 +348,37 @@ Here's an example of Diagnostic error log entry:
352348

353349
```json
354350
{
355-
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
356-
"SubscriptionId": "<Azure Subscription Id",
357-
"NamespaceName": "Name of Service Bus Namespace",
358-
"EntityType": "Queue",
359-
"EntityName": "Name of Service Bus Queue",
360-
"ActivityName": "SendMessage",
361-
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<service bus namespace name>",,
362-
"OperationResult": "ClientError",
363-
"ErrorCount": 1,
364-
"EventTimestamp": "3/27/2024 1:02:29.126 PM +00:00",
365-
"ErrorMessage": "the sessionid was not set on a message, and it cannot be sent to the entity. entities that have session support enabled can only receive messages that have the sessionid set to a valid value.",
366-
"category": "DiagnosticErrorLogs"
367-
}
368-
351+
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
352+
"SubscriptionId": "<Azure Subscription Id",
353+
"NamespaceName": "Name of Service Bus Namespace",
354+
"EntityType": "Queue",
355+
"EntityName": "Name of Service Bus Queue",
356+
"ActivityName": "SendMessage",
357+
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<service bus namespace name>",,
358+
"OperationResult": "ClientError",
359+
"ErrorCount": 1,
360+
"EventTimestamp": "3/27/2024 1:02:29.126 PM +00:00",
361+
"ErrorMessage": "the sessionid was not set on a message, and it cannot be sent to the entity. entities that have session support enabled can only receive messages that have the sessionid set to a valid value.",
362+
"category": "DiagnosticErrorLogs"
363+
}
369364
```
370365

371366
Resource specific table entry:
372367

373368
```json
374369
{
375-
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
376-
"NamespaceName": "Name of Service Bus Namespace",
377-
"EntityType": "Queue",
378-
"EntityName": "Name of Service Bus Queue",
379-
"ActivityName": "SendMessage",
380-
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<service bus namespace name>",,
381-
"OperationResult": "ClientError",
382-
"ErrorCount": 1,
383-
"TimeGenerated [UTC]": "1/27/2024 4:02:29.126 PM +00:00",
384-
"ErrorMessage": "the sessionid was not set on a message, and it cannot be sent to the entity. entities that have session support enabled can only receive messages that have the sessionid set to a valid value.",
385-
"Type": "AZMSDiagnosticErrorLogs"
386-
}
387-
370+
"ActivityId": "0000000000-0000-0000-0000-00000000000000",
371+
"NamespaceName": "Name of Service Bus Namespace",
372+
"EntityType": "Queue",
373+
"EntityName": "Name of Service Bus Queue",
374+
"ActivityName": "SendMessage",
375+
"ResourceId": "/SUBSCRIPTIONS/xxx/RESOURCEGROUPS/<Resource Group Name>/PROVIDERS/MICROSOFT.SERVICEBUS/NAMESPACES/<service bus namespace name>",,
376+
"OperationResult": "ClientError",
377+
"ErrorCount": 1,
378+
"TimeGenerated [UTC]": "1/27/2024 4:02:29.126 PM +00:00",
379+
"ErrorMessage": "the sessionid was not set on a message, and it cannot be sent to the entity. entities that have session support enabled can only receive messages that have the sessionid set to a valid value.",
380+
"Type": "AZMSDiagnosticErrorLogs"
381+
}
388382
```
389383

390384
[!INCLUDE [horz-monitor-ref-logs-tables](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ Following are sample queries that you can use to help you monitor your Azure Ser
206206
| summarize by NamespaceInfo, AuthKey, ActivityName
207207
```
208208

209+
---
210+
209211
[!INCLUDE [horz-monitor-alerts](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)]
210212

211213
### Service Bus alert rules

0 commit comments

Comments
 (0)