You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Azure Service Bus diagnostic logs | Microsoft Docs
3
-
description: Learn how to set up diagnostic logs for Service Bus in Azure.
2
+
title: Azure Service Bus diagnostics logs | Microsoft Docs
3
+
description: Learn how to set up diagnostics logs for Service Bus in Azure.
4
4
keywords:
5
5
documentationcenter: .net
6
6
services: service-bus-messaging
@@ -18,20 +18,20 @@ ms.date: 01/23/2019
18
18
ms.author: aschhab
19
19
20
20
---
21
-
# Enable diagnostic logs for Service Bus
21
+
# Enable diagnostics logs for Service Bus
22
22
23
-
When you start using your Azure Service Bus namespace, you may want to monitor how and when your namespace is created, deleted or accessed. This article provides an overview of all the operational/diagnostic logs that are available.
23
+
When you start using your Azure Service Bus namespace, you might want to monitor how and when your namespace is created, deleted, or accessed. This article provides an overview of all the operational and diagnostics logs that are available.
24
24
25
-
Azure Service Bus currently supports activity/operational logs which capture **management operations** performed on the Azure Service Bus namespace. Specifically, these logs capture the operation type, including queue creation, resources used, and the status of the operation.
25
+
Azure Service Bus currently supports activity and operational logs, which capture *management operations* that are performed on the Azure Service Bus namespace. Specifically, these logs capture the operation type, including queue creation, resources used, and the status of the operation.
26
26
27
27
## Operational logs schema
28
28
29
-
All logs are stored in JavaScript Object Notation (JSON) format in the below 2 locations.
29
+
All logs are stored in JavaScript Object Notation (JSON) format in the following two locations:
30
30
31
-
-**AzureActivity** - displays logs from operations/actions conducted against your namespace on the portal or through Azure Resource Manager template deployments.
32
-
-**AzureDiagnostics** - displays logs from operations/actions conducted against your namespace using the API, or through management clients on the language SDK.
31
+
-**AzureActivity**: Displays logs from operations and actions that are conducted against your namespace in the Azure portal or through Azure Resource Manager template deployments.
32
+
-**AzureDiagnostics**: Displays logs from operations and actions that are conducted against your namespace by using the API, or through management clients on the language SDK.
33
33
34
-
Operational log JSON strings include elements listed in the following table:
34
+
Operational log JSON strings include the elements listed in the following table:
35
35
36
36
| Name | Description |
37
37
| ------- | ------- |
@@ -42,7 +42,7 @@ Operational log JSON strings include elements listed in the following table:
42
42
| EventTimeString | Operation time |
43
43
| EventProperties | Operation properties |
44
44
| Status | Operation status |
45
-
| Caller | Caller of operation (Azure portal or management client) |
45
+
| Caller | Caller of operation (the Azure portal or management client) |
46
46
| Category | OperationalLogs |
47
47
48
48
Here's an example of an operational log JSON string:
@@ -61,14 +61,14 @@ Here's an example of an operational log JSON string:
61
61
}
62
62
```
63
63
64
-
## What events/operations are captured in operational logs?
64
+
## Events and operations captured in operational logs
65
65
66
-
Operation logs capture all management operations performed on the Azure Service Bus namespace. Data operations are not captured because of the high volume of data operations that are conducted on Azure Service Bus.
66
+
Operational logs capture all management operations that are performed on the Azure Service Bus namespace. Data operations are not captured, because of the high volume of data operations that are conducted on Azure Service Bus.
67
67
68
68
> [!NOTE]
69
-
> To better track data operations, we recommend using clientside tracing.
69
+
> To help you better track data operations, we recommend using client-side tracing.
70
70
71
-
The below management operations are captured in operational logs -
71
+
The following management operations are captured in operational logs:
72
72
73
73
| Scope | Operation|
74
74
|-------| -------- |
@@ -78,40 +78,42 @@ The below management operations are captured in operational logs -
> Currently, **Read** operations are not tracked in the operational logs.
81
+
> Currently, *Read* operations are not tracked in the operational logs.
82
82
83
-
## How to enable operational logs?
83
+
## Enable operational logs
84
84
85
-
Operational logs are disabled by default. To enable diagnostic logs, perform the following steps:
85
+
Operational logs are disabled by default. To enable diagnostics logs, do the following:
86
86
87
-
1. In the [Azure portal](https://portal.azure.com), navigate to your Azure Service Bus namespace and under **Monitoring**, click **Diagnostics settings**.
87
+
1. In the [Azure portal](https://portal.azure.com), go to your Azure Service Bus namespace and then, under **Monitoring**, select **Diagnostic settings**.
88
88
89
-

For more information about configuring diagnostics, see the [overview of Azure diagnostic logs](../azure-monitor/platform/diagnostic-logs-overview.md).
108
+
1. Select **Save**.
109
+
110
+
The new settings take effect in about 10 minutes. The logs are displayed in the configured archival target, in the **Diagnostics logs** pane.
111
+
112
+
For more information about configuring diagnostics settings, see the [overview of Azure diagnostics logs](../azure-monitor/platform/diagnostic-logs-overview.md).
111
113
112
114
## Next steps
113
115
114
-
See the following links to learn more about Service Bus:
116
+
To learn more about Service Bus, see:
115
117
116
118
*[Introduction to Service Bus](service-bus-messaging-overview.md)
117
119
*[Get started with Service Bus](service-bus-dotnet-get-started-with-queues.md)
0 commit comments