PS C:\Users\vagrant> Get-WmiObject -query "SELECT * FROM Win32_PerfFormattedData_PerfDisk_LogicalDisk"
with the values being mapped using disk_windows.go. Do you see zeros if you run the query manually? I think because they are pre-averaged by Windows it causes problems.
There has been some discussion of using Windows Performance Counters to collect these metrics instead of WMI. It is possible in Metricbeat 6.0 to collect the disk metrics using the performance counters, but you have to configure it through a separate metricset.
If you only do one thing to metricbeat in elastic6, it should be throwing out wmi. I don't have words how lousy that api is for gathering metrics, it can't be trusted for anything.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.