# Windows perfmon metricset

**URL:** <https://discuss.elastic.co/t/windows-perfmon-metricset/172938>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 19, 2019, 10:16am UTC](https://discuss.elastic.co/t/windows-perfmon-metricset/172938 "2019-03-19T10:16:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaharin\_ben\_ayon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaharin_ben_ayon/32/41037_2.png) [@yaharin\_ben\_ayon](https://discuss.elastic.co/u/yaharin_ben_ayon)\
**Post date:** [March 19, 2019, 10:16am UTC](https://discuss.elastic.co/t/windows-perfmon-metricset/172938/1 "2019-03-19T10:16:29Z")

</div>

[https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-metricset-windows-perfmon.html#metricbeat-metricset-windows-perfmon](https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-metricset-windows-perfmon.html#metricbeat-metricset-windows-perfmon)

I'm looking for a more detailed guide on how to write there queries.  
How can i find the measurement\_label?

Thank you.

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [March 20, 2019, 4:13pm UTC](https://discuss.elastic.co/t/windows-perfmon-metricset/172938/2 "2019-03-20T16:13:00Z")

</div>

Hi @yaharin_ben_ayon

`measurement_label` is set by you to the values returned by the performance counter query.  
It is recommended that you follow a structured naming convention separated by dots, as in the examples, to get proper indexing at ElasticSearch.

For querying, it is up to your system and the apps installed on it.  
You can try

`>typeperf -qx`

and filter upon the results

---

<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:** [April 17, 2019, 4:13pm UTC](https://discuss.elastic.co/t/windows-perfmon-metricset/172938/3 "2019-04-17T16:13:04Z")

</div>

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