Skip to content

Commit 4a83b2b

Browse files
committed
minor formatting edits
1 parent 647a7b6 commit 4a83b2b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: snehasudhirG
55
services: automation
66
ms.subservice: change-inventory-management
77
ms.topic: conceptual
8-
ms.date: 04/28/2024
8+
ms.date: 05/01/2024
99
ms.author: sudhirsneha
1010
ms.custom:
1111
---
@@ -118,16 +118,17 @@ Follow these steps to migrate using scripts.
118118
```azurecli
119119
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
120120
```
121-
---
122121

122+
If the CT logs table schema does not exist, the script mentioned in Step 1 will fail. To troubleshoot, run the following script -
123+
124+
```azurepowershell-interactive
123125
124-
If the CT logs table schema does not exist, the script mentioned in Step 1 will fail. To troubleshoot, run the following script -
126+
$psWorkspace = Get-AzOperationalInsightsWorkspace -ResourceGroupName $resourceGroup -Name $laws
127+
# Enabling CT solution on LA ws
128+
New-AzMonitorLogAnalyticsSolution -Type ChangeTracking -ResourceGroupName $resourceGroup -Location $psWorkspace.Location -WorkspaceResourceId $psWorkspace.ResourceId
129+
```
130+
---
125131
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-
```
131132
132133
### Compare data across Log analytics Agent and Azure Monitoring Agent version
133134

0 commit comments

Comments
 (0)