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/azure-monitor/agents/azure-monitor-agent-manage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ You can use Resource Manager templates to install Azure Monitor Agent on Azure v
191
191
Get sample templates for installing the agent and creating the association from the following resources:
192
192
193
193
-[Template to install Azure Monitor agent (Azure and Azure Arc)](../agents/resource-manager-agent.md#azure-monitor-agent)
194
-
-[Template to create association with data collection rule](./resource-manager-data-collection-rules.md)
194
+
-[Template to create association with data collection rule](../essentials/data-collection-rule-create-edit.md?tabs=arm#manually-create-a-dcr)
195
195
196
196
Install the templates by using [any deployment method for Resource Manager templates](../../azure-resource-manager/templates/deploy-powershell.md), such as the following commands.
Copy file name to clipboardExpand all lines: articles/azure-monitor/agents/azure-monitor-agent-transformation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ To complete this procedure, you need:
61
61
RawData
62
62
```
63
63
> [!NOTE]
64
-
> Information the user should notice even if skimmingQuerying table data in this way doesn't actually modify the data in the table. Azure Monitor applies the transformation in the [data ingestion pipeline](../essentials/data-collection-transformations.md#how-transformations-work) after you [add your transformation query to the data collection rule](#apply-the-transformation-to-your-data-collection-rule).
64
+
> Querying table data in this way doesn't actually modify the data in the table. Azure Monitor applies the transformation in the [data ingestion pipeline](../essentials/data-collection-transformations.md) after you [add your transformation query to the data collection rule](#apply-the-transformation-to-your-data-collection-rule).
65
65
66
66
1. Format the query into a single line and replace the table name in the first line of the query with the word `source`.
The following sample creates an association between an Azure Arc-enabled server and a data collection rule.
282
+
283
+
##### Template file
284
+
285
+
```bicep
286
+
@description('The name of the virtual machine.')
287
+
param vmName string
288
+
289
+
@description('The name of the association.')
290
+
param associationName string
291
+
292
+
@description('The resource ID of the data collection rule.')
293
+
param dataCollectionRuleId string
294
+
295
+
resource vm 'Microsoft.HybridCompute/machines@2021-11-01' existing = {
296
+
name: vmName
297
+
}
298
+
299
+
resource association 'Microsoft.Insights/dataCollectionRuleAssociations@2021-09-01-preview' = {
300
+
name: associationName
301
+
scope: vm
302
+
properties: {
303
+
description: 'Association of data collection rule. Deleting this association will break the data collection for this Arc server.'
304
+
dataCollectionRuleId: dataCollectionRuleId
305
+
}
306
+
}
307
+
```
114
308
115
-
For sample templates, see [Azure Resource Manager template samples for data collection rules in Azure Monitor](./resource-manager-data-collection-rules.md).
0 commit comments