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/vm/vminsights-enable-overview.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,11 +87,7 @@ When you enable VM insights for a machine, the following agents are installed. F
87
87
- The Dependency agent requires a connection from the virtual machine to the address 169.254.169.254. This address identifies the Azure metadata service endpoint. Ensure that firewall settings allow connections to this endpoint.
88
88
## Data collection rule
89
89
90
-
When you enable VM insights on a machine with the Azure Monitor agent, you must specify a [data collection rule](../essentials/data-collection-rule-overview.md) to use. The DCR specifies the data to collect and the workspace to use. VM insights creates a default DCR if one doesn't already exist. For more information on how to create and edit the VM insights DCR, see [Enable VM insights for the Azure Monitor agent
> Don't create your own DCR to support VM insights. The DCR created by VM insights includes a special data stream required for its operation. You can edit this DCR to collect more data, such as Windows and Syslog events, but you should create more DCRs and associate them with the machine.
90
+
When you enable VM insights on a machine with the Azure Monitor agent, you must specify a [data collection rule](../essentials/data-collection-rule-overview.md) to use. The DCR specifies the data to collect and the workspace to use. VM insights creates a default DCR if one doesn't already exist. For more information on how to create and edit the VM insights DCR, see [Enable VM insights for Azure Monitor Agent](vminsights-enable-portal.md#enable-vm-insights-for-azure-monitor-agent).
95
91
96
92
The DCR is defined by the options in the following table.
97
93
@@ -101,6 +97,11 @@ The DCR is defined by the options in the following table.
101
97
| Processes and dependencies | Collects information about processes running on the virtual machine and dependencies between machines. This information enables the [Map feature in VM insights](vminsights-maps.md). This is optional and enables the [VM insights Map feature](vminsights-maps.md) for the machine. |
102
98
| Log Analytics workspace | Workspace to store the data. Only workspaces with VM insights are listed. |
103
99
100
+
> [!IMPORTANT]
101
+
> Don't create your own DCR to support VM insights. The DCR created by VM insights includes a special data stream required for its operation. You can edit this DCR to collect more data, such as Windows and Syslog events, but you should create more DCRs and associate them with the machine.
102
+
103
+
If you associate a data collection rule with the Map feature enabled to a machine on which Dependency Agent is not installed, the Map view will not be available. To enable the Map view, set `enableAMA property = true` in the Dependency Agent extension when you install Dependency Agent. We recommend following the procedure described in [Enable VM insights for Azure Monitor Agent](vminsights-enable-portal.md#enable-vm-insights-for-azure-monitor-agent).
104
+
104
105
## Migrate from Log Analytics agent to Azure Monitor Agent
105
106
106
107
- You can install both Azure Monitor Agent and Log Analytics agent on the same machine during migration. If a machine has both agents installed, you'll see a warning in the Azure portal that you might be collecting duplicate data.
@@ -113,12 +114,6 @@ The DCR is defined by the options in the following table.
113
114
> - Extra ingestion costs from sending duplicate data to the Log Analytics workspace.
114
115
> - Inaccuracy in the Map feature of VM insights because the feature doesn't check for duplicate data.
115
116
116
-
- Installing and uninstalling Dependency Agent during migration:
117
-
118
-
- Associating a data collection rule that does not use the Map feature does not uninstall Dependency Agent from machines to which you associate the data collection rule. When you migrate a machine on which Dependency Agent is installed, if you do not need the Map feature, you must uninstall Dependency Agent.
119
-
- When you associate a data collection rule with the Map feature enabled to a machine on which Dependency Agent is not installed, the Map view doesn't show up. To enable the Map view, set `enableAMA property = true` in the Dependency Agent extension when you install Dependency Agent. We recommend using the VM insights onboarding UI.
120
-
- If you associate a data collection rule with the Map feature enabled to a machine on which Dependency Agent is not installed, Azure Monitor installs the Dependency Agent machine on the device and the agent runs in degraded mode.
121
-
122
117
- You must remove the Log Analytics agent yourself from any machines that are using it. Before you do this step, ensure that the machine isn't relying on any other solutions that require the Log Analytics agent. For more information, see [Migrate to Azure Monitor Agent from Log Analytics agent](../agents/azure-monitor-agent-migration.md).
123
118
124
119
- After you verify that no Log Analytics agents are still connected to your Log Analytics workspace, you can [remove the *VMInsights* solution from the workspace](vminsights-configure-workspace.md#remove-vminsights-solution-from-workspace). It's no longer needed.
0 commit comments