Skip to content

Commit d87c04a

Browse files
Merge pull request #286595 from sreekzz/patch-89
Updated the code block
2 parents 8421678 + efa82be commit d87c04a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/hdinsight/azure-monitor-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Azure Monitor Agent (AMA) migration guide for Azure HDInsight clusters
33
description: Learn how to migrate to Azure Monitor Agent (AMA) in Azure HDInsight clusters.
44
ms.service: azure-hdinsight
55
ms.topic: how-to
6-
ms.date: 09/06/2024
6+
ms.date: 09/12/2024
77
---
88

99
# Azure Monitor Agent (AMA) migration guide for Azure HDInsight clusters
@@ -177,7 +177,7 @@ Activate the new integration by going to your cluster's portal page and scrollin
177177
178178
$hdinsightClusterResourceId = "/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.HDInsight/clusters/{clusterName}"
179179
180-
$dcrAssociationName = "dcrAssociationName {yourDcrAssociation} "
180+
$dcrAssociationName = "{yourDcrAssociation}"
181181
182182
New-AzDataCollectionRuleAssociation -AssociationName $dcrAssociationName -ResourceUri $hdinsightClusterResourceId -DataCollectionRuleId $dcr.Id
183183
```

0 commit comments

Comments
 (0)