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
Copy file name to clipboardExpand all lines: articles/dev-box/monitor-dev-box-reference.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,23 @@
1
1
---
2
-
title: Dev center (DevCenter) diagnostic logs reference
2
+
title: Monitoring Microsoft Dev Box data reference
3
3
titleSuffix: Microsoft Dev Box
4
-
description: Schema reference for dev center (DevCenter) diagnostic logs. Review the list of Azure Storage and Azure Monitor Logs properties included in monitoring data.
4
+
description: Important reference material needed when you monitor Dev Box. Schema reference for dev center diagnostic logs. Review the included Azure Storage and Azure Monitor Logs properties.
5
5
services: dev-box
6
6
ms.service: dev-box
7
7
ms.topic: reference
8
8
author: delvissantos
9
9
ms.author: delvissantos
10
-
ms.date: 01/17/2024
10
+
ms.custom: horz-monitor, subject-monitoring
11
+
ms.date: 01/30/2023
11
12
---
12
13
13
-
# Microsoft dev center monitoring data reference
14
+
# Monitoring Microsoft Dev Box data reference
14
15
15
-
This article provides a reference for log and metric data collected for a Microsoft Dev Box dev center. You can use the collected data to analyze the performance and availability of resources within your dev center. For details about how to collect and analyze monitoring data for your dev center, see [Configure Azure diagnostic logs for a dev center](how-to-configure-dev-box-azure-diagnostic-logs.md).
16
+
This article provides a reference for log and metric data collected for a Microsoft Dev Box dev center. You can use the collected data to analyze the performance and availability of resources within your dev center. For details about how to collect and analyze monitoring data for your dev center, see [Monitoring Microsoft Dev Box](monitor-dev-box.md).
16
17
17
18
## Resource logs
18
19
19
-
The following table lists the properties of resource logs in a dev center. The resource logs are collected into Azure Monitor Logs or Azure Storage. In Azure Monitor, logs are collected in the **DevCenterDiagnosticLogs** table under the resource provider name of `MICROSOFT.DEVCENTER`.
20
+
The following table lists the properties of resource logs in a Microsoft Dev Box dev center. The resource logs are collected into Azure Monitor Logs or Azure Storage. In Azure Monitor, logs are collected in the **DevCenterDiagnosticLogs** table under the resource provider name of `MICROSOFT.DEVCENTER`.
20
21
21
22
| Azure Storage field or property | Azure Monitor Logs property | Description |
22
23
| --- | --- | --- |
@@ -37,5 +38,5 @@ A dev center uses Kusto tables from Azure Monitor Logs. You can query these tabl
37
38
38
39
## Related content
39
40
40
-
-[Configure Azure diagnostic logs for a dev center](how-to-configure-dev-box-azure-diagnostic-logs.md)
41
+
-[Monitor Dev Box](monitor-dev-box.md)
41
42
-[Monitor Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md)
Copy file name to clipboardExpand all lines: articles/dev-box/monitor-dev-box.md
+39-22Lines changed: 39 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,37 @@
1
1
---
2
-
title: Configure Azure Diagnostic Logs
2
+
title: Monitoring Microsoft Dev Box
3
3
titleSuffix: Microsoft Dev Box
4
-
description: Learn how to use Azure diagnostic logs to see an audit history for your dev center.
4
+
description: Start here to learn how to monitor Dev Box. Learn how to use Azure diagnostic logs to see an audit history for your dev center.
5
5
services: dev-box
6
6
ms.service: dev-box
7
7
ms.topic: how-to
8
8
author: delvissantos
9
9
ms.author: delvissantos
10
-
ms.date: 04/28/2023
10
+
ms.custom: horz-monitor, subject-monitoring
11
+
ms.date: 01/30/2023
11
12
---
12
13
13
-
# Configure Azure diagnostic logs for a dev center
14
+
# Monitoring Microsoft Dev Box
15
+
16
+
When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation.
17
+
18
+
This article describes the monitoring data generated by Microsoft Dev Box. Microsoft Dev Box uses [Azure Monitor](/azure/azure-monitor/overview). If you're unfamiliar with the features of Azure Monitor common to all Azure services that use it, read [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource).
19
+
20
+
## Monitoring data
21
+
22
+
Microsoft Dev Box collects the same kinds of monitoring data as other Azure resources that are described in [Monitoring data from Azure resources](/azure/azure-monitor/essentials/monitor-azure-resource#monitoring-data-from-Azure-resources).
23
+
24
+
See [Monitoring *Dev Box* data reference](monitor-dev-box-reference.md) for detailed information on the metrics and logs metrics created by Dev Box.
25
+
26
+
## Collection and routing
27
+
28
+
Platform metrics and the Activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting.
29
+
30
+
Resource Logs aren't collected and stored until you create a diagnostic setting and route them to one or more locations.
31
+
32
+
See [Create diagnostic setting to collect platform logs and metrics in Azure](/azure/azure-monitor/platform/diagnostic-settings) for the detailed process for creating a diagnostic setting using the Azure portal, CLI, or PowerShell. When you create a diagnostic setting, you specify which categories of logs to collect. The categories for *Dev box* are listed in [Microsoft Dev Box monitoring data reference](monitor-dev-box-reference.md#resource-logs).
33
+
34
+
### Configure Azure diagnostic logs for a dev center
14
35
15
36
With Azure diagnostic logs for DevCenter, you can view audit logs for dataplane operations in your dev center. These logs can be routed to any of the following destinations:
16
37
@@ -26,11 +47,7 @@ Diagnostics logs allow you to export basic usage information from your dev cente
26
47
27
48
To learn more about the different types of logs available for dev centers, see [DevCenter Diagnostic Logs Reference](monitor-reference.md).
28
49
29
-
## Prerequisites
30
-
31
-
A dev center.
32
-
33
-
## Enable logging with the Azure portal
50
+
### Enable logging with the Azure portal
34
51
35
52
Follow these steps enable logging for your Azure DevCenter resource:
36
53
@@ -43,7 +60,7 @@ Follow these steps enable logging for your Azure DevCenter resource:
43
60
4. Select **Add diagnostic setting** in the open page.
44
61
45
62
46
-
### Enable logging with Azure Storage
63
+
####Enable logging with Azure Storage
47
64
48
65
To use a storage account to store the logs, follow these steps:
49
66
@@ -60,7 +77,7 @@ To use a storage account to store the logs, follow these steps:
60
77
61
78
3. Select **Save**.
62
79
63
-
### Send to Log Analytics
80
+
####Send to Log Analytics
64
81
65
82
To use Log Analytics for the logs, follow these steps:
66
83
@@ -75,13 +92,13 @@ To use Log Analytics for the logs, follow these steps:
75
92
76
93
4. Select **Save**.
77
94
78
-
## Enable logging with PowerShell
95
+
###Enable logging with PowerShell
79
96
80
97
The following example shows how to enable diagnostic logs via the Azure PowerShell Cmdlets.
### Enable diagnostics logs for Log Analytics workspace
122
+
#### Enable diagnostics logs for Log Analytics workspace
106
123
107
124
1. Sign in to Azure PowerShell:
108
125
@@ -132,9 +149,10 @@ DevCenter stores data in the following tables.
132
149
| Table | Description |
133
150
|:---|:---|
134
151
| DevCenterDiagnosticLogs | Table used to store dataplane request/response information on dev box or environments within the dev center. |
152
+
| DevCenterResourceOperationLogs | Operation logs pertaining to DevCenter resources, including information around resource health status changes. |
153
+
| DevCenterBillingEventLogs | Billing event related to DevCenter resources. This log contains information about the quantity and unit charged per meter. |
135
154
136
-
137
-
### Sample Kusto Queries
155
+
## Sample Kusto Queries
138
156
After enabling diagnostic settings on your dev center, you should be able to view audit logs for the tables within a log analytics workspace.
139
157
140
158
Here are some queries that you can enter into Log search to help your monitor your dev boxes.
@@ -162,10 +180,9 @@ DevCenterDiagnosticLogs
162
180
163
181
These examples are just a small sample of the rich queries that can be performed in Monitor using the Kusto Query Language. For more information, see [samples for Kusto queries](/azure/data-explorer/kusto/query/samples?pivots=azuremonitor).
164
182
165
-
## Next steps
166
-
167
-
To learn more about Azure logs, see the following articles:
0 commit comments