Virtual machines hosted in the Azure cloud can be centrally-monitored, both Windows and Linux, using a client agent.
- Add the Azure Monitor to your subscription in the portal.
- Create a Log Analytics workspace, to collects the logs.
- Install the Dependency agent, which relies on the Log Analytics agent to forward logs.
- Push from the Azure portal directly to the VM using the Insights blade.
- For multiple VMs or VM scale sets, enable through Azure policy or PowerShell.
- Physical computers can run the agent as a software install.
More information and links for the downloads are available in the Azure document Enable Azure Monitor for VMs (preview) overview