Enable Azure VMInsights with Log Analytics Agent or Azure Monitoring Agent
Introduction
Hello Everyone,
We all heard about the Azure VMInsights monitoring solution which will monitor the Azure VMs performances and event logs. It also gives the graphical view of the particular VM about the VM connections and properties which is more convienent.
I was going through it and thought of documenting the differences and how to enable the same.
In order to enable VM Insights you have to use either the Azure monitoring agent with Data collection Rule or Log Analytics agent
Once you select the Log Analytics agent based deployment then it'll start deploy the VMInsights solution, Dependency agent & MMA or AMA as per the previous choice
InsightsMetrics -> LogicalDisk, Network, Computer, Memory, ProcessorVMComputerVMProcessVMConnectionVMBoundPortHeartbeatServiceMapComputer_CLServiceMapProcess_CL
Azure VMInsights does captures only the Performace related counters and it gives nice visualizations. But if you're looking for Event Viewer logs then you've to configure agent configurations and select Legacy agents management and configure necessary event logs then it'll start create a new table called Event.
VMInsights Using Azure Monitoring Agent:
Create new Data Collection Rule and select the Log Analytics Workspace or create a new one,
Deployment is completed with following agents and provided the AMA agent is deployed as an extension.
InsightsMetrics -> LogicalDisk, Network, Computer, Memory, ProcessorVMComputerVMProcessVMConnectionVMBoundPortHeartbeatServiceMapComputer_CLServiceMapProcess_CL
And if you're looking for Event Viewer logs then you've to configure data collection rules with necessary event logs then it'll start create a new table called Event.
Comments