# Metricbeat dosen't collect CPU and Memory if Load is enabled in windows machines

**URL:** <https://discuss.elastic.co/t/metricbeat-dosent-collect-cpu-and-memory-if-load-is-enabled-in-windows-machines/262802>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [February 1, 2021, 8:50am UTC](https://discuss.elastic.co/t/metricbeat-dosent-collect-cpu-and-memory-if-load-is-enabled-in-windows-machines/262802 "2021-02-01T08:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathish22](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Sathish22](https://discuss.elastic.co/u/Sathish22)\
**Post date:** [February 1, 2021, 8:50am UTC](https://discuss.elastic.co/t/metricbeat-dosent-collect-cpu-and-memory-if-load-is-enabled-in-windows-machines/262802/1 "2021-02-01T08:50:15Z")

</div>

Hi Team,

I have installed metricbeat in windows machine

If we disable Load from the system.yml file we can able to capture CPU and Memory metrics but after enabling load we didn't get data for CPU, Memory, and Load

But able to capture disk usage in both ways

PFB system.yml file

```
- module: system
  period: 15m
  metricsets:
    - cpu
    - load
    - memory
    - network
    - process
    - process_summary
    - socket_summary
#- entropy
    #- core
    #- diskio
    #- socket
    #- service
    #- users
  process.include_top_n:
    by_cpu: 10 # include top 5 processes by CPU
    by_memory: 10 # include top 5 processes by memory
- module: system
  period: 15m
  metricsets:
    - filesystem
    - fsstat
  processors:
  - drop_event.when.regexp:
      system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
- module: system
  period: 15m
  metricsets:
    - uptime

```

Please help me

---

<div class="post-metadata">

**Author:** ![Sathish22](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Sathish22](https://discuss.elastic.co/u/Sathish22)\
**Post date:** [February 3, 2021, 8:58am UTC](https://discuss.elastic.co/t/metricbeat-dosent-collect-cpu-and-memory-if-load-is-enabled-in-windows-machines/262802/2 "2021-02-03T08:58:14Z")

</div>

Can anyone please help me..

---

<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:** [March 3, 2021, 8:59am UTC](https://discuss.elastic.co/t/metricbeat-dosent-collect-cpu-and-memory-if-load-is-enabled-in-windows-machines/262802/3 "2021-03-03T08:59:16Z")

</div>

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