# Perfmon help for metricbeat 6 beta

**URL:** <https://discuss.elastic.co/t/perfmon-help-for-metricbeat-6-beta/101366>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 21, 2017, 4:13pm UTC](https://discuss.elastic.co/t/perfmon-help-for-metricbeat-6-beta/101366 "2017-09-21T16:13:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chokedoke](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chokedoke](https://discuss.elastic.co/u/chokedoke)\
**Post date:** [September 21, 2017, 4:13pm UTC](https://discuss.elastic.co/t/perfmon-help-for-metricbeat-6-beta/101366/1 "2017-09-21T16:13:11Z")

</div>

Hi

Hopefully someone can give me a little bit of help in regards to getting a perfmon counter to work

I am trying to get the below to work but as soon as i put it in my metrics everything stops working

What am i doing wrong?

```
- instance_label: "LM.W3SVC.1.ROOT.Site"
  instance_name: "ASP_NET_Applications"
  measurenment_label: "Sessions.Active"
  query: '\ASP.NET Applications(_LM_W3SVC_1_ROOT_Site)\Sessions Active'

```

Any help on how to find the proper information to put in would be great as this is a feature i would really like to start testing!

Thanks

---

<div class="post-metadata">

**Author:** ![chokedoke](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chokedoke](https://discuss.elastic.co/u/chokedoke)\
**Post date:** [September 22, 2017, 10:01am UTC](https://discuss.elastic.co/t/perfmon-help-for-metricbeat-6-beta/101366/2 "2017-09-22T10:01:03Z")

</div>

After a few tweaks i have now got this working. Firstly there where tabs in the YML file that beats didnt like and then i changed some of the syntax.

Below is the perfmon that works and returns the counts

```
- instance_label: "asp.net.applications"
  instance_name: "site.sessions.active"
  measurement_label: "asp.apps.sessions.active"
  query: '\ASP.NET Applications(_LM_W3SVC_1_ROOT_site)\Sessions Active'
  format: "long"
```

---

<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 20, 2017, 10:01am UTC](https://discuss.elastic.co/t/perfmon-help-for-metricbeat-6-beta/101366/3 "2017-10-20T10:01:13Z")

</div>

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