Azure VMs - OMS Agent

%3CLINGO-SUB%20id%3D%22lingo-sub-146268%22%20slang%3D%22en-US%22%3EAzure%20VMs%20-%20OMS%20Agent%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146268%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20I%20deploy%20Log%20Analytics%20and%20want%20to%20use%20the%20management%20solutions%20I%20know%20I%20need%20to%20install%20the%20OMS%20Agent%20on%20my%20on-prem%20Windows%20servers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20I%20need%20to%20install%20the%20same%20agent%20on%20my%20%3CSTRONG%3EAzure%3C%2FSTRONG%3E%20Windows%20VMs%20or%20is%20it%20installed%20by%20default%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-146268%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAgents%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147411%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20VMs%20-%20OMS%20Agent%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147411%22%20slang%3D%22en-US%22%3E%3CP%3EInstalling%20the%20agent%20on%20an%20Azure%20VM%20is%20even%20easier%20than%20on-prem%20machines%20-%26nbsp%3Bthrough%20the%20Azure%20portal%2C%20open%20Log%20Analytics%20and%20select%20the%26nbsp%3Bworkspace%20you%20want%20to%20keep%20the%20logs.%20In%20the%20Table%20of%20Contents%20you%20can%20find%20Virtual%20Machines%20(under%20%22Workspace%20Data%20Sources%22).%20This%20gives%20you%20a%20list%20of%20all%20your%20VMs%2C%20both%20Linux%20and%20Windows%2C%20and%20you%20can%20simply%20click%20the%20%22connect%22%20button%20after%20selecting%20a%20VM%20to%20connect.%3C%2FP%3E%0A%3CP%3EThat's%20it.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F27194i8CB3DB586AC0845A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22AzureVMAgents.png%22%20title%3D%22AzureVMAgents.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-146559%22%20slang%3D%22en-US%22%3ERE%3A%20Azure%20VMs%20-%20OMS%20Agent%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146559%22%20slang%3D%22en-US%22%3EYou%20can%20install%20the%20same%20agent%2C%20but%20the%20simplest%20way%20is%20to%20enable%20it%20directly%20from%20the%20portal.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flog-analytics%2Flog-analytics-quick-collect-azurevm%23enable-the-log-analytics-vm-extension%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flog-analytics%2Flog-analytics-quick-collect-azurevm%23enable-the-log-analytics-vm-extension%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

If I deploy Log Analytics and want to use the management solutions I know I need to install the OMS Agent on my on-prem Windows servers.

 

Do I need to install the same agent on my Azure Windows VMs or is it installed by default?

 

2 Replies
Highlighted
You can install the same agent, but the simplest way is to enable it directly from the portal. https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-quick-collect-azurevm#enable-the-...
Highlighted

Installing the agent on an Azure VM is even easier than on-prem machines - through the Azure portal, open Log Analytics and select the workspace you want to keep the logs. In the Table of Contents you can find Virtual Machines (under "Workspace Data Sources"). This gives you a list of all your VMs, both Linux and Windows, and you can simply click the "connect" button after selecting a VM to connect.

That's it.

AzureVMAgents.png