Build Custom Dashboard - Multiple LAWs Across Multiple Azure Subscriptions

Taranjeet Malik 611 Reputation points
2025-12-10T03:10:45.4566667+00:00

Hi

We have an environment with multiple Azure subscriptions and multiple Log Analytics Workspaces (LAWs). We want to build custom dashboard that displays Virtual Machine health data, specifically, CPU / Memory / Disk performance and heartbeat for all the VMs across all subscriptions and reporting to different LAW.

Firstly, what's the best way to check whether the VMs are connected to a LAW and which LAW each VM is connected to. The screenshot below shows the some VMs are connected to LAW:

VM LAW

However, if I go the Diagnostics Settings of the VM resource, it only shows this:

Vm diag Settings

Secondly, let's say the VMs are not reporting to Log Analytics Workspace, what's the best (alternate) way(s) to build a custom dashboard to monitor performance and availability for various counters of these VMs across all subscriptions? As the VMs are not reporting to a LAW, we cannot use KQL query to do that - please feel free to correct me.

Thanks

Taranjeet Singh

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
{count} votes

1 answer

Sort by: Most helpful
  1. Taranjeet Malik 611 Reputation points
    2025-12-11T02:42:36.08+00:00

    Hi

    Thanks for the detailed response. Can you clarify the following please:

    1. Looking at my requirement, what is the minimum required to achieve it?
      1. AMA + DCR + LAW OR
      2. AMA + DCRs + VM Insights
      Is VM Insights an replacement for LAW here? I've checked and we do have a certain population of VMs that have VM Insights enabled: VMInsights
    2. The Data Collection Rule (DCR) for Windows has no Objects (CPU, Memory, Disks) selected:

    VMInsights

    However, the JSON object of the DCR, it shows something called as VMInsightsPerfCounters. Could this be something that may hold data we needed to build the Dashboard? how can I check that?

    DCR JSON

    1. I can see that the Table named Perf is available, but it doesn't return anything when queried:

    No Results 1

    Can see the Schema of the Perf table:Perf Table Schema

    Thanks

    Taranjeet Singh


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.