Getting metricbeat process-related info only for some specified processes


(Anirban Sen) #1

Hi,

I want to configure my metricbeat.yml file in a way so that i can get process-related info(for example, system.process.pid,system.process.memory.size etc) where system.process.name = chrome.exe OR outlook.exe OR java.exe.
And NOT for all the processes running.

Kindly suggest.


(Andrew Kroh) #2

You can use the processes configuration option to accomplish this.

metricbeat.modules:
- module: system
  metricsets: [process]
  processes:
  - '^chrome.exe$'
  - '^outlook.exe$'
  - '^java.exe$'

(Anirban Sen) #3

Thanks. It helped.


(system) #4

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