上QQ阅读APP看书,第一时间看更新
Connecting Azure VMs to OMS Log Analytics in Azure portal
After adding solution offerings and solutions to your OMS workspace, you are now ready to connect sources to the workspace to start collecting some data. You can enable the VM extension to connect your Azure VMs to OMS Log Analytics:
- Navigate to and sign in to the Azure portal.
- Search for and navigate to Log Analytics and select your Log Analytics workspace
- In the Log Analytics blade, select Virtual machines under Workspace Data Sources
- Review the list of virtual machines and the OMS connection status for each virtual machine on which you would like to install the agent:
Figure 1.22 - Azure VMs connection to OMS
- Select the virtual machine that you would like to install the agent on, and in the details blade for the VM, select Connect. This will automatically install and configure the agent for your Log Analytics workspace:
Figure 1.23 - Connecting Azure VMs to OMS Log Analytics
After the agent is installed and connected, the OMS connection status for your workspace will reflect this:
Figure 1.24 - Azure VMs connected to OMS