Skip to content

Commit ea6cf1c

Browse files
Merge pull request #208410 from shayoniseth/patch-87
Update azure-monitor-agent-migration-tools.md
2 parents 104cc71 + 331dd07 commit ea6cf1c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/azure-monitor/agents/azure-monitor-agent-migration-tools.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.topic: conceptual
55
author: guywild
66
ms.author: guywild
77
ms.reviewer: shseth
8-
ms.date: 6/22/2022
8+
ms.date: 8/18/2022
99
ms.custom: devx-track-azurepowershell, devx-track-azurecli
1010

1111
# Customer intent: As an Azure account administrator, I want to use the available Azure Monitor tools to migrate from Log Analytics Agent to Azure Monitor Agent and track the status of the migration in my account.
@@ -34,7 +34,7 @@ You can access the workbook [here](https://portal.azure.com/#view/AppInsightsExt
3434
## Installing and using DCR Config Generator (preview)
3535
Azure Monitor Agent relies only on [data collection rules (DCRs)](../essentials/data-collection-rule-overview.md) for configuration, whereas Log Analytics Agent inherits its configuration from Log Analytics workspaces.
3636

37-
Use the DCR Config Generator tool to parse Log Analytics Agent configuration from your workspaces and generate corresponding data collection rules automatically. You can then associate the rules to machines running the new agent using built-in association policies.
37+
Use the DCR Config Generator tool to parse Log Analytics Agent configuration from your workspaces and generate/deploy corresponding data collection rules automatically. You can then associate the rules to machines running the new agent using built-in association policies.
3838

3939
> [!NOTE]
4040
> DCR Config Generator does not currently support additional configuration for [Azure solutions or services](./azure-monitor-agent-overview.md#supported-services-and-features) dependent on Log Analytics Agent.
@@ -53,15 +53,15 @@ To install DCR Config Generator:
5353

5454
1. Run the script:
5555

56-
Option 1:
56+
Option 1: Outputs **ready-to-deploy ARM template files** only that will create the generated DCR in the specified subscription and resource group, when deployed.
5757

5858
```powershell
5959
.\WorkspaceConfigToDCRMigrationTool.ps1 -SubscriptionId $subId -ResourceGroupName $rgName -WorkspaceName $workspaceName -DCRName $dcrName -Location $location -FolderPath $folderPath
6060
```
61-
Option 2 (if you just want the DCR payload JSON file):
61+
Option 2: Outputs **ready-to-deploy ARM template files** and **the DCR JSON files** separately for you to deploy via other means. You need to set the `GetDcrPayload` parameter.
6262

6363
```powershell
64-
$dcrJson = Get-DCRJson -ResourceGroupName $rgName -WorkspaceName $workspaceName -PlatformType $platformType $dcrJson | ConvertTo-Json -Depth 10 | Out-File "<filepath>\OutputFiles\dcr_output.json"
64+
.\WorkspaceConfigToDCRMigrationTool.ps1 -SubscriptionId $subId -ResourceGroupName $rgName -WorkspaceName $workspaceName -DCRName $dcrName -Location $location -FolderPath $folderPath -GetDcrPayload
6565
```
6666

6767
**Parameters**
@@ -73,9 +73,10 @@ To install DCR Config Generator:
7373
| `WorkspaceName` | Yes | Name of the target workspace. |
7474
| `DCRName` | Yes | Name of the new DCR. |
7575
| `Location` | Yes | Region location for the new DCR. |
76-
| `FolderPath` | No | Path in which to save the new data collection rules. By default, Azure Monitor uses the current directory. |
76+
| `GetDcrPayload` | No | When set, it generates additional DCR JSON files
77+
| `FolderPath` | No | Path in which to save the ARM template files and JSON files (optional). By default, Azure Monitor uses the current directory. |
7778

78-
1. Review the output data collection rules. The script can produce two types of ARM template files, depending on the agent configuration in the target workspace:
79+
1. Review the output ARM template files. The script can produce two types of ARM template files, depending on the agent configuration in the target workspace:
7980

8081
- Windows ARM template and parameter files - if the target workspace contains Windows performance counters or Windows events.
8182
- Linux ARM template and parameter files - if the target workspace contains Linux performance counters or Linux Syslog events.

0 commit comments

Comments
 (0)