Hi! Running metricbeat 6.2.1 and we're trying to capture perfmon stats regarding CPU from an old a## Windows 2003 server and nothing seems to be coming through.
First, can Metricbeat and this version of beat even scrape perfmon stats from Windows 2003 boxes?
Second, this is correct yeah?:
metricbeat.modules:
- module: windows
metricsets: ["perfmon"]
period: 10s
perfmon.counters:
- instance_label: "processor.name"
instance_name: "Total"
measurement_label: "processor.time.total.pct"
query: '\Processor(_Total)\% Processor Time'
Thanks!
UPDATE
I ran metricbeat in the terminal and am getting this error:
D:\metricbeat\metricbeat-6.2.1-windows-x86>metricbeat.exe -c "D:\metricbeat\metr
icbeat-6.2.1-windows-x86\\metricbeat.yml" -path.home "D:\metricbeat\metricbeat-6
.2.1-windows-x86" -path.data "C:\\ProgramData\\metricbeat" -path.logs "C:\\Progr
amData\\metricbeat\logs"
panic: Failed to find PdhAddEnglishCounterW procedure in pdh.dll: The specified
procedure could not be found.
goroutine 54 [running]:
github.com/elastic/beats/vendor/golang.org/x/sys/windows.(*LazyProc).mustFind(0x
16092400)
that mean anything to anyone? the stack trace goes on if anyone's interested.