# Can't disable some metricsets

**URL:** <https://discuss.elastic.co/t/cant-disable-some-metricsets/149100>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 19, 2018, 10:24am UTC](https://discuss.elastic.co/t/cant-disable-some-metricsets/149100 "2018-09-19T10:24:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khaled\_Saidi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khaled_saidi/32/98636_2.png) [@Khaled\_Saidi](https://discuss.elastic.co/u/Khaled_Saidi)\
**Post date:** [September 19, 2018, 10:24am UTC](https://discuss.elastic.co/t/cant-disable-some-metricsets/149100/1 "2018-09-19T10:24:10Z")

</div>

Hi everybody,

I'm running metricbeat agent v6.4.1 on a windows 7 enterprise SP1 .  
I want to gather some metricsets of the System module.  
So my conf is :

```
metricbeat.modules:
#------------------------------- System Module -------------------------------
- module: system
  metricsets:
    - cpu # CPU usage
    - filesystem # File system usage for each mountpoint
    - memory # Memory usage
    - process_summary # Process summary
    - uptime # System Uptime
    - core # Per CPU core usage
    #- fsstat # File system summary metrics
    #- load # CPU load averages
    #- network # Network IO
    #- process # Per process metrics
    #- diskio # Disk IO
    #- raid # Raid
    #- socket # Sockets and connection info (linux only)  

  enabled: true
  period: 3600s
  processes: ['.*']

  # Configure the metric types that are included by these metricsets.
  cpu.metrics: ["percentages"] # The other available options are normalized_percentages and ticks.
  core.metrics: ["percentages"] # The other available option is ticks.

```

I restart the metricbeat service.  
And on Kibana, i still have all the metricsets collected, as network, fsstat, process...

Need help to find what is wrong in my configuration file.  
Thx a lot.

BR,

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [September 19, 2018, 10:33am UTC](https://discuss.elastic.co/t/cant-disable-some-metricsets/149100/2 "2018-09-19T10:33:16Z")

</div>

Hi @Khaled_Saidi,

Please check that you are not including the system module multiple times. This can happen if you have the system module defined in the `metricbeat.yml` file and also in some of the files included in the `modules.d` directory. If that is the case, our recommendation would be to remove the module configuration for the main configuration file, and use the module-specific files.  
If you prefer to use an only file, be sure to disable the configs you don't want in the `modules.d` directory.

---

<div class="post-metadata">

**Author:** ![Khaled\_Saidi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khaled_saidi/32/98636_2.png) [@Khaled\_Saidi](https://discuss.elastic.co/u/Khaled_Saidi)\
**Post date:** [September 19, 2018, 10:49am UTC](https://discuss.elastic.co/t/cant-disable-some-metricsets/149100/3 "2018-09-19T10:49:01Z")

</div>

Thank you Jaime.  
I forgot to disable the System module in the modules.d directory.  
You're the best. thank you again.

---

<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:** [October 17, 2018, 10:49am UTC](https://discuss.elastic.co/t/cant-disable-some-metricsets/149100/4 "2018-10-17T10:49:04Z")

</div>

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