Perfmon plugin No valid counters


(Erik Parienty) #1

my perfmon is working but i found a problem with 1 counter "No valid counters"

This is the counter
C:>typeperf "\ASP.NET Applications(*)\Requests/Sec"

"(PDH-CSV 4.0)","\ERIKP-PC\ASP.NET Applications(*)\Requests/Sec"
"09/09/2015 19:20:00.341","0.000000"
"09/09/2015 19:20:01.341","0.000000"
"09/09/2015 19:20:02.344","0.000000"
"09/09/2015 19:20:03.346","0.000000"
"09/09/2015 19:20:04.349","0.000000"

Looks good but when i try it in logstash like this

input {
perfmon {
interval => 10
counters => ['\ASP.NET Applications(*)\Requests/Sec']
}
}

i get

{"message":"","@version":"1","@timestamp":"2015-09-09T15:44:23.443Z","host":"ERIKP-PC"}
{"message":"Exiting, please wait...","@version":"1","@timestamp":"2015-09-09T15:44:23.611Z","host":"ERIKP-PC"}
{"message":"Error: No valid counters.","@version":"1","@timestamp":"2015-09-09T15:44:23.677Z","host":"ERIKP-PC"}
{"message":"","@version":"1","@timestamp":"2015-09-09T15:44:25.207Z","host":"ERIKP-PC"}
{"message":"","@version":"1","@timestamp":"2015-09-09T15:56:48.869Z","host":"ERIKP-PC"}


(system) #2