<p>I added Azure Monitor logs to the Performance counters and now it is showing the Perf data</p>

CC BY-SA 4.0
2022-08-24T18:59:05.113Z
2022-08-24T18:59:05.113Z
SandeshR
<p>I have enabled Azure Monitoring in one of our virtual machine. Is been 4 days the virtual machine is on, below is the query:</p>
<pre><code>Perf
| where ObjectName == &quot;Memory&quot; and
(CounterName == &quot;Available MBytes Memory&quot; or // the name used in Linux records
CounterName == &quot;Available MBytes&quot;) // the name used in Windows records
|  summarize avg(CounterValue) by bin(TimeGenerated, 15min), Computer, _ResourceId // bin is used to set the time grain to 15 minutes
| render timechart
</code></pre>
<p>The output of Perf itself is empty. The same thing goes for <code>Update</code>, it show me zero results.</p>
<p>These are the two extensions I have installed on the VM</p>
<p><a href="https://i.sstatic.net/TVEAP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TVEAP.png" alt="enter image description here" /></a></p>
<p>Also I have created the Data collection rule to send below data to the log analytics</p>
<p><a href="https://i.sstatic.net/CSbX5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/CSbX5.png" alt="enter image description here" /></a></p>
<p>Any suggestions?</p>

<azure><monitoring>
Virtual Machine Monitoring KQL yielding empty results
SandeshR
# Virtual Machine Monitoring KQL yielding empty results

(Asked by: username_0 on 2022-08-17)

I have enabled Azure Monitoring in one of our virtual machine. Is been 4 days the virtual machine is on, below is the query:
Perf
| where ObjectName == "Memory" and
(CounterName == "Available MBytes Memory" or // the name used in Linux records
CounterName == "Available MBytes") // the name used in Windows records
|  summarize avg(CounterValue) by bin(TimeGenerated, 15min), Computer, _ResourceId // bin is used to set the time grain to 15 minutes
| render timechart

The output of Perf itself is empty. The same thing goes for Update, it show me zero results.
These are the two extensions I have installed on the VM

Also I have created the Data collection rule to send below data to the log analytics

Any suggestions?

**Tags:** azure, monitoring


---

## 1 answers

### Answer by username_0 on 2022-08-24. Score: 0 | Accepted answer

I added Azure Monitor logs to the Performance counters and now it is showing the Perf data


---

