Skip to content

Commit 09a69ff

Browse files
author
RoseHJM
committed
Added new logs, changed titles and added sections for closer pattern adherence.
1 parent df4b297 commit 09a69ff

File tree

3 files changed

+52
-23
lines changed

3 files changed

+52
-23
lines changed

articles/dev-box/.openpublishing.redirection.dev-box.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
"source_path_from_root": "/articles/dev-box/concept-common-components.md",
3535
"redirect_url": "/azure/dev-box/overview-what-is-microsoft-dev-box#components-shared-with-azure-deployment-environments",
3636
"redirect_document_id": false
37-
}
37+
},
38+
{
39+
"source_path_from_root": "/articles/dev-box/how-to-configure-dev-box-azure-diagnostic-logs.md",
40+
"redirect_url": "/azure/dev-box/monitor-dev-box",
41+
"redirect_document_id": false
42+
},
43+
{
44+
"source_path_from_root": "/articles/dev-box/monitor-reference.md",
45+
"redirect_url": "/azure/dev-box/monitor-dev-box-reference",
46+
"redirect_document_id": false
47+
}
3848
]
3949
}

articles/dev-box/monitor-reference.md renamed to articles/dev-box/monitor-dev-box-reference.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
2-
title: Dev center (DevCenter) diagnostic logs reference
2+
title: Monitoring Microsoft Dev Box data reference
33
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.
55
services: dev-box
66
ms.service: dev-box
77
ms.topic: reference
88
author: delvissantos
99
ms.author: delvissantos
10-
ms.date: 01/17/2024
10+
ms.custom: horz-monitor, subject-monitoring
11+
ms.date: 01/30/2023
1112
---
1213

13-
# Microsoft dev center monitoring data reference
14+
# Monitoring Microsoft dev center data reference
1415

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).
1617

1718
## Resource logs
1819

@@ -37,5 +38,5 @@ A dev center uses Kusto tables from Azure Monitor Logs. You can query these tabl
3738

3839
## Related content
3940

40-
- [Configure Azure diagnostic logs for a dev center](how-to-configure-dev-box-azure-diagnostic-logs.md)
41+
- [Configure Azure diagnostic logs for a dev center](monitor-dev-box.md)
4142
- [Monitor Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md)

articles/dev-box/how-to-configure-dev-box-azure-diagnostic-logs.md renamed to articles/dev-box/monitor-dev-box.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,37 @@
11
---
2-
title: Configure Azure Diagnostic Logs
2+
title: Monitoring Microsoft Dev Box
33
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.
55
services: dev-box
66
ms.service: dev-box
77
ms.topic: how-to
88
author: delvissantos
99
ms.author: delvissantos
10-
ms.date: 04/28/2023
10+
ms.custom: horz-monitor, subject-monitoring
11+
ms.date: 01/30/2023
1112
---
1213

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
1435

1536
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:
1637

@@ -26,11 +47,7 @@ Diagnostics logs allow you to export basic usage information from your dev cente
2647

2748
To learn more about the different types of logs available for dev centers, see [DevCenter Diagnostic Logs Reference](monitor-reference.md).
2849

29-
## Prerequisites
30-
31-
A dev center.
32-
33-
## Enable logging with the Azure portal
50+
### Enable logging with the Azure portal
3451

3552
Follow these steps enable logging for your Azure DevCenter resource:
3653

@@ -43,7 +60,7 @@ Follow these steps enable logging for your Azure DevCenter resource:
4360
4. Select **Add diagnostic setting** in the open page.
4461

4562

46-
### Enable logging with Azure Storage
63+
#### Enable logging with Azure Storage
4764

4865
To use a storage account to store the logs, follow these steps:
4966

@@ -60,7 +77,7 @@ To use a storage account to store the logs, follow these steps:
6077

6178
3. Select **Save**.
6279

63-
### Send to Log Analytics
80+
#### Send to Log Analytics
6481

6582
To use Log Analytics for the logs, follow these steps:
6683

@@ -75,13 +92,13 @@ To use Log Analytics for the logs, follow these steps:
7592

7693
4. Select **Save**.
7794

78-
## Enable logging with PowerShell
95+
### Enable logging with PowerShell
7996

8097
The following example shows how to enable diagnostic logs via the Azure PowerShell Cmdlets.
8198

8299
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
83100

84-
### Enable diagnostic logs in a storage account
101+
#### Enable diagnostic logs in a storage account
85102

86103
1. Sign in to Azure PowerShell:
87104

@@ -102,7 +119,7 @@ The following example shows how to enable diagnostic logs via the Azure PowerShe
102119
New-AzDiagnosticSetting -Name $diagname -ResourceId $devcenterid -StorageAccountId $storageacctid -Log $log
103120
```
104121
105-
### Enable diagnostics logs for Log Analytics workspace
122+
#### Enable diagnostics logs for Log Analytics workspace
106123
107124
1. Sign in to Azure PowerShell:
108125
@@ -132,9 +149,10 @@ DevCenter stores data in the following tables.
132149
| Table | Description |
133150
|:---|:---|
134151
| 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. |
135154
136-
137-
### Sample Kusto Queries
155+
## Sample Kusto Queries
138156
After enabling diagnostic settings on your dev center, you should be able to view audit logs for the tables within a log analytics workspace.
139157
140158
Here are some queries that you can enter into Log search to help your monitor your dev boxes.

0 commit comments

Comments
 (0)