# Getting metricbeat process-related info only for some specified processes

**URL:** <https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 31, 2017, 4:39am UTC](https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115 "2017-07-31T04:39:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [July 31, 2017, 4:39am UTC](https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115/1 "2017-07-31T04:39:07Z")

</div>

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](http://system.process.name) = chrome.exe OR outlook.exe OR java.exe.  
And NOT for all the processes running.

Kindly suggest.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [August 1, 2017, 1:07am UTC](https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115/2 "2017-08-01T01:07:00Z")

</div>

You can use the `processes` [configuration option](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-system.html#_module_specific_configuration_notes_7) to accomplish this.

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

---

<div class="post-metadata">

**Author:** ![anisen](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anisen](https://discuss.elastic.co/u/anisen)\
**Post date:** [August 1, 2017, 5:26am UTC](https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115/3 "2017-08-01T05:26:55Z")

</div>

Thanks. It helped.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 29, 2017, 5:26am UTC](https://discuss.elastic.co/t/getting-metricbeat-process-related-info-only-for-some-specified-processes/95115/4 "2017-08-29T05:26:57Z")

</div>

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