# Metricbeat Perfmon Counters Stop Ingesting

**URL:** <https://discuss.elastic.co/t/metricbeat-perfmon-counters-stop-ingesting/341412>\
**Category:** Elastic Agent\
**Tags:** metricbeat\
**Created:** [August 22, 2023, 10:11pm UTC](https://discuss.elastic.co/t/metricbeat-perfmon-counters-stop-ingesting/341412 "2023-08-22T22:11:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikg](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@erikg](https://discuss.elastic.co/u/erikg)\
**Post date:** [August 22, 2023, 10:11pm UTC](https://discuss.elastic.co/t/metricbeat-perfmon-counters-stop-ingesting/341412/1 "2023-08-22T22:11:51Z")

</div>

Hello,  
Need help understanding why perfmon works but eventually stops working after awhile,

Using Elastic Agent - Windows Integration to collect windows perfmon counters, the data comes in but then stops ingesting after an hour.  
I looked into agent logs and see only this error message once it stopped ingesting:

```auto
[elastic_agent.metricbeat][error] Error fetching data for metricset windows.perfmon: failed reading counters: failed collecting counter values: No data to return.

```

Heres' my perfmon configuration:

```auto
- object: 'DFS Replicated Folders'
  instance: ["*"]
  counters:
   - name: 'Total Files Received'
     field: total_files_received
     format: "long"
   - name: "Staging Space In Use"
     field: staging_space_in_use
     format: "long"

```

[Link to similar post]  
[[Metricbeat failed reading counters: failed collecting counter values: No data to return](https://discuss.elastic.co/t/metricbeat-failed-reading-counters-failed-collecting-counter-values-no-data-to-return/283082)]

Elastic Agent version: 8.9.0

---

<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:** [September 19, 2023, 10:12pm UTC](https://discuss.elastic.co/t/metricbeat-perfmon-counters-stop-ingesting/341412/2 "2023-09-19T22:12:10Z")

</div>

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