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
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,9 @@ author: snehasudhirG
5
5
services: automation
6
6
ms.subservice: change-inventory-management
7
7
ms.topic: conceptual
8
-
ms.date: 11/03/2023
8
+
ms.date: 02/07/2024
9
9
ms.author: sudhirsneha
10
+
ms.custom: devx-track-azurepowershell
10
11
---
11
12
12
13
# Migration guidance from Change Tracking and inventory using Log Analytics to Change Tracking and inventory using Azure Monitoring Agent version
@@ -61,34 +62,34 @@ Using the Azure portal, you can migrate from Change Tracking & Inventory with LA
61
62
62
63
#### Prerequisites
63
64
64
-
- Ensure to have the Windows PowerShell console installed. We recommend that you use PowerShell version 7.2 or higher. Follow the steps to [Install PowerShell on Windows](/powershell/scripting/install/installing-powershell-on-windows).
65
+
- Ensure you have PowerShell installed. The latest version of PowerShell 7 or higher is recommended. Follow the steps to [Install PowerShell on Windows, Linux, and macOS](/powershell/scripting/install/installing-powershell).
65
66
- Obtain Read access for the specified workspace resources.
66
-
-Ensure that you have `Az.Accounts` and `Az.OperationalInsights` modules installed. The `Az.PowerShell` module is used to pull workspace agent configuration information.
67
-
- Ensure to have the Azure credentials to run `Connect-AzAccount` and `Select Az-Context` that set the context for the script to run.
67
+
-[Install the latest version of the Az PowerShell module](/powershell/azure/install-azure-powershell). The **Az.Accounts** and **Az.OperationalInsights** modules are required to pull workspace agent configuration information.
68
+
- Ensure you have Azure credentials to run `Connect-AzAccount` and `Select-AzContext` which set the script's context.
68
69
Follow these steps to migrate using scripts.
69
70
70
71
#### Migration guidance
71
72
72
73
1. Install the script and run it to conduct migrations.
73
-
1. Ensure that the new workspace resource ID is different to the one with which it's associated to in the Change Tracking and Inventory using the LA version.
74
+
1. Ensure the new workspace resource ID is different from the one associated with the Change Tracking and Inventory using the LA version.
74
75
1. Migrate settings for the following data types:
75
76
- Windows Services
76
77
- Linux Files
77
78
- Windows Files
78
79
- Windows Registry
79
80
- Linux Daemons
80
-
1. Generate and associates a new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
81
+
1. Generate and associate a new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
81
82
82
83
#### Onboard at scale
83
84
84
-
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 data collection rule.
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.
85
86
86
87
#### Parameters
87
88
88
89
**Parameter** | **Required** | **Description** |
89
90
--- | --- | --- |
90
-
`InputWorkspaceResourceId`| Yes | Resource ID of the workspace associated to Change Tracking & Inventory with Log Analytics. |
91
-
`OutputWorkspaceResourceId`| Yes | Resource ID of the workspace associated to Change Tracking & Inventory with Azure Monitoring Agent. |
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. |
92
93
`OutputDCRName`| Yes | Custom name of the new DCR created. |
93
94
`OutputDCRLocation`| Yes | Azure location of the output workspace ID. |
94
95
`OutputDCRTemplateFolderPath`| Yes | Folder path where DCR templates are created. |
@@ -131,8 +132,8 @@ To obtain the Log Analytics Workspace resource ID, follow these steps:
131
132
132
133
### [Using PowerShell script](#tab/limit-policy)
133
134
134
-
1. For File Content changes-based settings, you have to migrate manually from LA version to AMA version of Change Tracking & Inventory. Follow the guidance listed in [Track file contents](manage-change-tracking.md#track-file-contents).
135
-
1. Any VM with > 100 file/registry settings for migration via portal isn't supported now.
135
+
1. For File Content changes-based settings, you must migrate manually from LA version to AMA version of Change Tracking & Inventory. Follow the guidance listed in [Track file contents](manage-change-tracking.md#track-file-contents).
136
+
1. Any VM with > 100 file/registry settings for migration via Azure Portal isn't supported.
136
137
1. Alerts that you configure using the Log Analytics Workspace must be [manually configured](configure-alerts.md).
0 commit comments