Reputation: 1
Hi I'm trying to query a specific disk Throughput but cannot find the specific value that has to be input to get the throughput chart from that specific disk. Is that even possible?
This is what I have until now:
Perf
| where ObjectName == "LogicalDisk"
| where CounterName == "Disk Bytes/sec"
| where Computer contains "computername"
| summarize ThroughputInMBs = (max(CounterValue)/1024/1024) by Computer, bin(TimeGenerated, 5m)
| render timechart
Upvotes: 0
Views: 192
Reputation: 4778
You can add the below line in your query to filter the specific VM.
| where Computer == "<Your Disk Name>"
Final Query to fetch specific Disk details in a Log Analytic Workspace
Perf
| where Computer == "VM1"
| where ObjectName == "LogicalDisk"
| where CounterName == "Disk Bytes/sec"
| summarize ThroughputInMBs = (avg(CounterValue)/1024/1024) by Computer, bin(TimeGenerated, 5m)
| render timechart
Upvotes: 0