# Metricbeat error while enabling windows metrics

**URL:** <https://discuss.elastic.co/t/metricbeat-error-while-enabling-windows-metrics/294245>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [January 13, 2022, 8:41am UTC](https://discuss.elastic.co/t/metricbeat-error-while-enabling-windows-metrics/294245 "2022-01-13T08:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![inmar](https://avatars.discourse-cdn.com/v4/letter/i/f4b2a3/32.png) [@inmar](https://discuss.elastic.co/u/inmar)\
**Post date:** [January 13, 2022, 8:41am UTC](https://discuss.elastic.co/t/metricbeat-error-while-enabling-windows-metrics/294245/1 "2022-01-13T08:41:06Z")

</div>

Hi  
I am running ES stack on linux ubuntu inside windows hyper-v VM.  
I installed metricbeat with deb package, enabled system metrics everything worked well.  
I want to add windows metrics to be collected in the ES.  
When I enabled the windows module I am getting the following error:

**error: metricset 'windows/perfmon' not found**

I guess the reason is that windows OS is not part of the context OS that the ES is running on.  
How do I provide the windows metrics from the windows OS into the VM?  
There is a network between the windows and the linux OS, but can I config the windows.yaml to look the metrics in different ip?

Thanks

---

<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:** [February 10, 2022, 10:41am UTC](https://discuss.elastic.co/t/metricbeat-error-while-enabling-windows-metrics/294245/2 "2022-02-10T10:41:46Z")

</div>

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