Forum Discussion

Jonathan Rossi's avatar
Jonathan Rossi
Copper Contributor
Jul 21, 2020
Solved

Azure Monitor for VMs - Log Queries

Hi, I've installed Azure Monitor for VMs and I was under the impression we would need to change our existing Log Queries to stop using the Perf table for CPU/Disk/Memory/etc and start using some of t...
  • Noa Kuperberg's avatar
    Jul 22, 2020

    Jonathan Rossi you're right, there are 2 separate performance tables.

    Perf is still the default table, it holds the performance counters you chose to collect (at the workspace level). The previous version of VM Insights used it as well. The new version of VM Insights now collects performance metrics into the InsightsMetrics table. The sample queries that you see for any VM resource, on its Logs page, use the Perf table, regardless of the VMInsights version you install.

    If you're concerned about having both Perf and InsightsMetrics, read this FAQ entry.

    The link provided on the first reply to your question (to sample alert queries) has the best examples to querying InsightsMetrics I could find.

Resources