Limit records in windows perfmon

Can I get top N records from windows perfmon ordered by value descending? I don't want to store all records.


- module: windows
  metricsets: ["perfmon"]
  period: 10s
    - instance_label: ""
      measurement_label: "process.cpu"
      query: '\Process(*)\% Processor Time'
      format: "float"
      # TOP N ordered by value descending


This is not supported by the perfmon module. Only the system process metricset has a "top-N" feature. See

Andrew, thanks for reply!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.