# No data to display for the selected metrics

**URL:** <https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 5, 2018, 7:03pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679 "2018-06-05T19:03:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Einbasaharan](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@Einbasaharan](https://discuss.elastic.co/u/Einbasaharan)\
**Post date:** [June 5, 2018, 7:03pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679/1 "2018-06-05T19:03:26Z")

</div>

Have installed metricbeat on windows 2012 and windows 2016,Getting Error on Windows 2012 Platform

Processes By Memory [Metricbeat System] , Top Processes By CPU [Metricbeat System] and Disk IO (Bytes) [Metricbeat System]

For Windows 2012 Standard -- Not able to get the data for mentioning metrics.

Error Logs  
// 2018-06-06T00:24:46.637+0530 ERROR process/process.go:454 Error getting process details. pid=620: error getting pr  
ocess arguments for pid=620: ProcArgs failed for pid=620: could not get Win32\_Process WHERE ProcessId = 620: Exception o  
ccurred. (Invalid class )  
2018-06-06T00:24:46.659+0530 ERROR process/process.go:454 Error getting process details. pid=9620: error getting p  
rocess arguments for pid=9620: ProcArgs failed for pid=9620: could not get Win32\_Process WHERE ProcessId = 9620: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.682+0530 ERROR process/process.go:454 Error getting process details. pid=9200: error getting p  
rocess arguments for pid=9200: ProcArgs failed for pid=9200: could not get Win32\_Process WHERE ProcessId = 9200: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.705+0530 ERROR process/process.go:454 Error getting process details. pid=9784: error getting p  
rocess arguments for pid=9784: ProcArgs failed for pid=9784: could not get Win32\_Process WHERE ProcessId = 9784: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.730+0530 ERROR process/process.go:454 Error getting process details. pid=9744: error getting p  
rocess arguments for pid=9744: ProcArgs failed for pid=9744: could not get Win32\_Process WHERE ProcessId = 9744: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.752+0530 ERROR process/process.go:454 Error getting process details. pid=5168: error getting p  
rocess arguments for pid=5168: ProcArgs failed for pid=5168: could not get Win32\_Process WHERE ProcessId = 5168: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.776+0530 ERROR process/process.go:454 Error getting process details. pid=5860: error getting p  
rocess arguments for pid=5860: ProcArgs failed for pid=5860: could not get Win32\_Process WHERE ProcessId = 5860: Excepti  
on occurred. (Invalid class )  
2018-06-06T00:24:46.809+0530 INFO cfgfile/reload.go:222 Dynamic config reloader stopped  
2018-06-06T00:24:46.810+0530 INFO instance/beat.go:308 metricbeat stopped.  
//  
On Windows 2016 Same configuration is able to get Data for visualizing.

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [June 5, 2018, 7:32pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679/2 "2018-06-05T19:32:25Z")

</div>

Hi @Einbasaharan,

It seems that there are some versions of Windows that don't support the `Win32_Process` class, [we check it for Vista and older versions](https://github.com/elastic/gosigar/blob/master/sigar_windows.go#L77), maybe for 2012 it is also not supported, but in the [documentation](https://msdn.microsoft.com/en-us/library/aa394372(v=vs.85).aspx) they mention that it is supported starting on Windows 2008. I have oppened an issue to investigate this ([#105](https://github.com/elastic/gosigar/issues/105)).

Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [June 5, 2018, 7:37pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679/3 "2018-06-05T19:37:20Z")

</div>

@Einbasaharan do you have by chance the possibility to test it also in Windows 2012 R2? Thanks!

---

<div class="post-metadata">

**Author:** ![Einbasaharan](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@Einbasaharan](https://discuss.elastic.co/u/Einbasaharan)\
**Post date:** [June 5, 2018, 8:22pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679/4 "2018-06-05T20:22:39Z")

</div>

@jsoriano  
Windows 2012 R2 seems to be reporting the data to elastic.  
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:** [July 3, 2018, 8:22pm UTC](https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679/5 "2018-07-03T20:22:40Z")

</div>

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