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/data-collection-rule-azure-monitor-agent.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,23 +18,11 @@ To collect data from virtual machines using the Azure Monitor agent, you'll:
18
18
1. Create [data collection rules (DCR)](../essentials/data-collection-rule-overview.md) that define which data Azure Monitor agent sends to which destinations.
19
19
1. Associate the data collection rule to specific virtual machines.
20
20
21
-
## How data collection rule associations work
22
-
23
-
You can associate virtual machines to multiple data collection rules. This allows you to define each data collection rule to address a particular requirement, and associate the data collection rules to virtual machines based on the specific data you want to collect from each machine.
24
-
25
-
For example, consider an environment with a set of virtual machines running a line of business application and other virtual machines running SQL Server. You might have:
26
-
27
-
- One default data collection rule that applies to all virtual machines.
28
-
- Separate data collection rules that collect data specifically for the line of business application and for SQL Server.
29
-
30
-
The following diagram illustrates the associations for the virtual machines to the data collection rules.
31
-
32
-

33
-
21
+
You can associate virtual machines to multiple data collection rules. This allows you to define each data collection rule to address a particular requirement, and associate the data collection rules to virtual machines based on the specific data you want to collect from each machine.
34
22
35
23
## Create data collection rule and association
36
24
37
-
To send data to Log Analytics, create the data collection rule in the **same region**where your Log Analytics workspace resides. You can still associate the rule to machines in other supported regions.
25
+
To send data to Log Analytics, create the data collection rule in the **same region**as your Log Analytics workspace. You can still associate the rule to machines in other supported regions.
38
26
39
27
### [Portal](#tab/portal)
40
28
@@ -84,7 +72,7 @@ To send data to Log Analytics, create the data collection rule in the **same reg
84
72
85
73
### [API](#tab/api)
86
74
87
-
1. Manually create the DCR file using the JSON format shown in [Sample DCR](data-collection-rule-sample-agent.md).
75
+
1. Create a DCR file using the JSON format shown in [Sample DCR](data-collection-rule-sample-agent.md).
88
76
89
77
2. Create the rule using the [REST API](/rest/api/monitor/datacollectionrules/create#examples).
0 commit comments