Collect Metric of specific process using metricbeat

Hello Everyone,
I am using metricbeat to collect system metrics.
Now, I want to capture data of only specific process, csrss.exe how can I achieve this

I have tried some ways but it's not working for me

  • module: system
    period: 10s
    metricsets:

    • cpu
      #- load
    • memory
    • network
    • process
    • process_summary
    • socket_summary
      processes: ['csrss.exe']
      process.include_top_n:
      by_cpu: 5 # include top 5 processes by CPU
      by_memory: 5 # include top 5 processes by memory
  • module: system
    period: 1m
    metricsets:

    • filesystem
    • fsstat
      processors:
    • drop_event.when.regexp:
      system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
  • module: system
    period: 15m
    metricsets:

    • uptime

Above process I want to capture

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