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/automation/change-tracking/guidance-migration-log-analytics-monitoring-agent.md
+52-26Lines changed: 52 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: snehasudhirG
5
5
services: automation
6
6
ms.subservice: change-inventory-management
7
7
ms.topic: conceptual
8
-
ms.date: 02/07/2024
8
+
ms.date: 04/28/2024
9
9
ms.author: sudhirsneha
10
10
ms.custom:
11
11
---
@@ -23,7 +23,12 @@ Using the Azure portal, you can migrate from Change Tracking & Inventory with LA
23
23
24
24
## Onboarding to Change tracking and inventory using Azure Monitoring Agent
25
25
26
-
### [Using Azure portal - for single VM](#tab/ct-single-vm)
26
+
### [Using Azure portal - Azure single VM](#tab/ct-single-vm)
27
+
28
+
> [!NOTE]
29
+
> To onboard Arc-enabled VMs, use the PowerShell Script. For more information, see the steps listed in tab Using PowerShell script - Arc-enabled VMs.
30
+
31
+
To onboard through Azure portal, follow these steps:
27
32
28
33
1. Sign in to the [Azure portal](https://portal.azure.com) and select your virtual machine
29
34
1. Under **Operations** , select **Change tracking**.
@@ -35,7 +40,7 @@ Using the Azure portal, you can migrate from Change Tracking & Inventory with LA
35
40
36
41
:::image type="content" source="media/guidance-migration-log-analytics-monitoring-agent/switch-versions-inline.png" alt-text="Screenshot that shows switching between log analytics and Azure Monitoring Agent after a successful migration." lightbox="media/guidance-migration-log-analytics-monitoring-agent/switch-versions-expanded.png":::
37
42
38
-
### [Using Azure portal - for Automation account](#tab/ct-at-scale)
1. Sign in to [Azure portal](https://portal.azure.com) and select your Automation account.
41
46
1. Under **Configuration Management**, select **Change tracking** and then select **Configure with AMA**.
@@ -58,7 +63,9 @@ Using the Azure portal, you can migrate from Change Tracking & Inventory with LA
58
63
59
64
:::image type="content" source="media/guidance-migration-log-analytics-monitoring-agent/switch-versions-inline.png" alt-text="Screenshot that shows switching between log analytics and Azure Monitoring Agent after a successful migration." lightbox="media/guidance-migration-log-analytics-monitoring-agent/switch-versions-expanded.png":::
@@ -70,30 +77,49 @@ Follow these steps to migrate using scripts.
70
77
71
78
#### Migration guidance
72
79
73
-
1. Install the script and run it to conduct migrations.
74
-
1. Ensure the new workspace resource ID is different from the one associated with the Change Tracking and Inventory using the LA version.
75
-
1. Migrate settings for the following data types:
76
-
- Windows Services
77
-
- Linux Files
78
-
- Windows Files
79
-
- Windows Registry
80
-
- Linux Daemons
81
-
1. Generate and associate a new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
80
+
1. Install the [script](https://github.com/mayguptMSFT/AzureMonitorCommunity/blob/master/Azure%20Services/Azure%20Monitor/Agents/Migration%20Tools/DCR%20Config%20Generator/CTDcrGenerator/CTWorkSpaceSettingstoDCR.ps1) and run it to conduct migrations. The script does the following:
81
+
1. Ensure the new workspace resource ID is different from the one associated with the Change Tracking and Inventory using the LA version.
82
+
83
+
1. Migrate settings for the following data types:
84
+
- Windows Services
85
+
- Linux Files
86
+
- Windows Files
87
+
- Windows Registry
88
+
- Linux Daemons
89
+
90
+
1.**Parameters** - ensure to provide input for the following parameters as listed in the script.
91
+
92
+
**Parameter** | **Required** | **Description** |
93
+
--- | --- | --- |
94
+
`InputWorkspaceResourceId`| Yes | Resource ID of the workspace associated with Change Tracking & Inventory with Log Analytics. |
95
+
`OutputWorkspaceResourceId`| Yes | Resource ID of the workspace associated with Change Tracking & Inventory with Azure Monitoring Agent. |
96
+
`OutputDCRName`| Yes | Custom name of the new DCR created. |
97
+
`OutputDCRLocation`| Yes | Azure location of the output workspace ID. |
98
+
`OutputDCRTemplateFolderPath`| Yes | Folder path where DCR templates are created. |
82
99
83
-
#### Onboard at scale
84
-
85
-
Use the [script](https://github.com/mayguptMSFT/AzureMonitorCommunity/blob/master/Azure%20Services/Azure%20Monitor/Agents/Migration%20Tools/DCR%20Config%20Generator/CTDcrGenerator/CTWorkSpaceSettingstoDCR.ps1) to migrate Change tracking workspace settings to a data collection rule.
86
-
87
-
#### Parameters
88
-
89
-
**Parameter** | **Required** | **Description** |
90
-
--- | --- | --- |
91
-
`InputWorkspaceResourceId`| Yes | Resource ID of the workspace associated with Change Tracking & Inventory with Log Analytics. |
92
-
`OutputWorkspaceResourceId`| Yes | Resource ID of the workspace associated with Change Tracking & Inventory with Azure Monitoring Agent. |
93
-
`OutputDCRName`| Yes | Custom name of the new DCR created. |
94
-
`OutputDCRLocation`| Yes | Azure location of the output workspace ID. |
95
-
`OutputDCRTemplateFolderPath`| Yes | Folder path where DCR templates are created. |
100
+
1. Generate and associate a new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
96
101
102
+
To generate the DCR, follow these steps:
103
+
104
+
1.[Create Change Tracking Data collection rule](#create-data-collection-rule).
105
+
1. Sign in to [Azure portal](https://portal.azure.com) and go to **Monitor** and under **Settings**, select **Data Collection Rules**.
106
+
1. Select the data collection rule that you have created in Step 1 from the listing page.
107
+
1. In the data collection rule page, under **Configurations**, select **Resources** and then select **Add**.
108
+
1. In the Select a scope, from Resource types, select Machines-Azure Arc that is connected to the subscription and then select Apply to associate the ctdcr created in Step 1 to the Arc-enabled machine and it will also install the Azure Monitoring Agent extension. For more information, see [Enable Change Tracking and Inventory - for Arc-enabled VMs - using portal/CLI](enable-vms-monitoring-agent.md#enable-change-tracking-and-inventory).
109
+
110
+
Install the Change Tracking extension as per the OS type for the Arc-enabled VM.
111
+
112
+
**Linux**
113
+
114
+
```azurecli
115
+
az connectedmachine extension create --name ChangeTracking-Linux --publisher Microsoft.Azure.ChangeTrackingAndInventory --type-handler-version 2.20 --type ChangeTracking-Linux --machine-name XYZ --resource-group XYZ-RG --location X --enable-auto-upgrade
116
+
```
117
+
118
+
**Windows**
119
+
120
+
```azurecli
121
+
az connectedmachine extension create --name ChangeTracking-Windows --publisher Microsoft.Azure.ChangeTrackingAndInventory --type-handler-version 2.20 --type ChangeTracking-Windows --machine-name XYZ --resource-group XYZ-RG --location X --enable-auto-upgrade
122
+
```
97
123
---
98
124
99
125
### Compare data across Log analytics Agent and Azure Monitoring Agent version
0 commit comments