An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello Hitul Gala,You have configured Azure Monitor Agent (AMA) with a Data Collection Rule (DCR) to collect disk free space metrics using the performance counter: \LogicalDisk(*)% Free Space. The DCR is correctly associated with the target virtual machines, Pointing to the intended Log Analytics Workspace and Successfully ingesting data into the Perf table. However, the collected data not Individual disk instances (for example C:, D:) are not present, which blocks your requirement to configure per‑disk alerts when free space falls below 10% per VM.
Generally, you should ensure that your DCR configuration is correct. Double-check that you are using the correct performance counter: \LogicalDisk(*)\% Free Space and \LogicalDisk(*)\Free Megabytes If configured properly, it should capture metrics for each disk instance.
You can try to update Windows performance counters follow a strict path format like \LogicalDisk(*)\% Free Space and \LogicalDisk(*)\Free Megabytes See if this works.
Collect performance counters with Azure Monitor Agent - Azure Monitor | Azure Docs
After updating as per the above format, Validate your query in the Log Analytics workspace. You can use the provided KQL queries to ensure that metrics are correctly collected. For example, you can modify queries for the perf table to focus specifically on each disk's free space:
Perf
| where ObjectName == "LogicalDisk"
| where CounterName in ("% Free Space", "Free Megabytes")
| summarize LatestRecord = arg_max(TimeGenerated, CounterValue)
by Computer, InstanceName, CounterName
| evaluate pivot(CounterName, take_any(CounterValue))
| extend FreeSpacePercent = todouble(["% Free Space"])
| extend FreeSpaceMB = todouble(["Free Megabytes"])
| extend TotalDiskMB = iif(FreeSpacePercent > 0, FreeSpaceMB * 100.0 / FreeSpacePercent, 0.0)
| extend UsedSpaceMB = TotalDiskMB - FreeSpaceMB
| project Computer, InstanceName, FreeSpacePercent
Hope this helps. and please feel free to reach out if you have any further questions. Thanks