DEV Community

Cover image for Monitoring Azure Arc-Enabled Windows with VM Insights
Jimi
Jimi

Posted on

Monitoring Azure Arc-Enabled Windows with VM Insights

Introduction

Building on our previous guide on securing your cloud environment with Microsoft Defender for Cloud, we'll now focus on enhancing visibility into your Azure Arc-enabled Windows servers using Azure Monitor.

In this post, we'll set up VM Insights to collect and analyze performance data for your servers.

Prerequisites:

  • An Azure account with an active subscription.
  • A Windows VM enabled with Azure Arc.

Creating a Log Analytics Workspace

  1. Navigate to the Azure portal and search for "Log Analytics Workspaces."

    Locating Log Analytics Workspaces

  2. Click + Create to create a new workspace.

    Creating Workspace

  3. Provide a name, select your subscription and resource group, and then click Review + Create.

    Configuring Workspaces

Enabling VM Insights

  1. Search for "Azure Arc" in the Azure portal and navigate to Machines.

    Locating Arc Machine

  2. Select your target Windows server and go to the Monitoring section and click Insights.

    Locating Machine Insight

  3. Click on Enable.

    Enabling the Machine insight

  4. Choose your subscription and click Create new for the data collection rule.

    Creating a Data Collection Rule

  5. Give the data collection rule a name, enable process and dependencies mapping, select your Log Analytics workspace, and click Create.

    Configuring the Data Collection Rule

Exploring Performance Data

While data collection takes a few minutes, you can navigate to the Arc Lab Insights page for your machine and select the Performance tab.

Locating the Performance tab

This page provides server properties and summarizes event types and their counts.

Machine Insights

Conclusion:
Congratulations! You've successfully set up monitoring for your Azure Arc-enabled Windows server.

Next Steps:
In the next guide, we'll explore how to manage updates for your Azure Arc-enabled Windows servers using Azure Update Manager.

Top comments (0)