# Metricsets are ignored

**URL:** <https://discuss.elastic.co/t/metricsets-are-ignored/139517>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 11, 2018, 8:52am UTC](https://discuss.elastic.co/t/metricsets-are-ignored/139517 "2018-07-11T08:52:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordan](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jordan](https://discuss.elastic.co/u/jordan)\
**Post date:** [July 11, 2018, 8:52am UTC](https://discuss.elastic.co/t/metricsets-are-ignored/139517/1 "2018-07-11T08:52:33Z")

</div>

with the configuration below I keep getting all metricbeat fields in kibana: processes, network etc.  
I would expect to have only the cpu data based on my config.  
Are my expectation wrong? What is the purpose of metricsets if it doesn't disable anything.

```
metricbeat.modules:
- module: system
  metricsets: ["cpu"]
  # - cpu
  # - filesystem
  # - memory
  # - network
  # - process
  enabled: true
  period: 10s
  processes: []
  cpu_ticks: false
```

---

<div class="post-metadata">

**Author:** ![jordan](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jordan](https://discuss.elastic.co/u/jordan)\
**Post date:** [July 11, 2018, 9:52am UTC](https://discuss.elastic.co/t/metricsets-are-ignored/139517/2 "2018-07-11T09:52:03Z")

</div>

so obviously I had  
**metricbeat.config.modules**  
which I skipped as something default, that would overwrite the metricbeat.modules.  
why is it included in default configuration, without even mentioning it in **Getting started with Metricbeat**

---

<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:** [July 11, 2018, 1:51pm UTC](https://discuss.elastic.co/t/metricsets-are-ignored/139517/3 "2018-07-11T13:51:33Z")

</div>

I opened an issue to get the Getting Started docs updated with information about modules.d (it was a relatively new change to move the default config there). [https://github.com/elastic/beats/issues/7570](https://github.com/elastic/beats/issues/7570)

You can instantiate a module more than one time with different options so it doesn't overwrite module definitions. All of the enabled modules in the main `metricbeat.yml` and `modules.d/*.yml` are collected and used.

---

<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 8, 2018, 1:51pm UTC](https://discuss.elastic.co/t/metricsets-are-ignored/139517/4 "2018-08-08T13:51:34Z")

</div>

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