Skip to content

Commit 647a7b6

Browse files
committed
New inputs incorporated
1 parent 18bf460 commit 647a7b6

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

articles/automation/change-tracking/guidance-migration-log-analytics-monitoring-agent.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,17 @@ Follow these steps to migrate using scripts.
7878
#### Migration guidance
7979

8080
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.
8281

83-
1. Migrate settings for the following data types:
82+
1. It ensures the new workspace resource ID is different from the one associated with the Change Tracking and Inventory using the LA version.
83+
84+
1. It migrates the settings for the following data types:
8485
- Windows Services
8586
- Linux Files
8687
- Windows Files
8788
- Windows Registry
8889
- Linux Daemons
8990

90-
1. **Parameters** - ensure to provide input for the following parameters as listed in the script.
91+
1. The script consists of the following **Parameters** that require an input from you.
9192

9293
**Parameter** | **Required** | **Description** |
9394
--- | --- | --- |
@@ -97,11 +98,8 @@ Follow these steps to migrate using scripts.
9798
`OutputDCRLocation`| Yes | Azure location of the output workspace ID. |
9899
`OutputDCRTemplateFolderPath`| Yes | Folder path where DCR templates are created. |
99100

100-
1. Generate and associate a new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
101-
102-
To generate the DCR, follow these steps:
101+
1. A DCR template is generated when you run the above script and the template is available in `OutputDCRTemplateFolderPath`. You have to associate the new DCR to transfer the settings to the Change Tracking and Inventory using AMA.
103102

104-
1. [Create Change Tracking Data collection rule](#create-data-collection-rule).
105103
1. Sign in to [Azure portal](https://portal.azure.com) and go to **Monitor** and under **Settings**, select **Data Collection Rules**.
106104
1. Select the data collection rule that you have created in Step 1 from the listing page.
107105
1. In the data collection rule page, under **Configurations**, select **Resources** and then select **Add**.
@@ -122,6 +120,15 @@ Follow these steps to migrate using scripts.
122120
```
123121
---
124122

123+
124+
If the CT logs table schema does not exist, the script mentioned in Step 1 will fail. To troubleshoot, run the following script -
125+
126+
```azurepowershell-interactive
127+
$psWorkspace = Get-AzOperationalInsightsWorkspace -ResourceGroupName $resourceGroup -Name $laws
128+
# Enabling CT solution on LA ws
129+
New-AzMonitorLogAnalyticsSolution -Type ChangeTracking -ResourceGroupName $resourceGroup -Location $psWorkspace.Location -WorkspaceResourceId $psWorkspace.ResourceId
130+
```
131+
125132
### Compare data across Log analytics Agent and Azure Monitoring Agent version
126133

127134
After you complete the onboarding to Change tracking with AMA version, select **Switch to CT with AMA** on the landing page to switch across the two versions and compare the following events.

0 commit comments

Comments
 (0)