<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is there a problem with splunk getting data from the Perfmon Process counter? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-problem-with-splunk-getting-data-from-the-Perfmon/m-p/443174#M77201</link>
    <description>&lt;P&gt;Hi @gregbo,&lt;/P&gt;

&lt;P&gt;It's true, &lt;CODE&gt;perfmon&lt;/CODE&gt; has a lot of limitations when it comes to monitoring processes. Did some research and some of the limitations are :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Perfmon doesn't collect null values for CPU usage.&lt;/LI&gt;
&lt;LI&gt;For multi-core Perfmon max CPU is 100% if the option &lt;CODE&gt;useWinApiProcStats&lt;/CODE&gt; is not set. This option is best practice is case of multi-core systems as it uses the&lt;CODE&gt;GetProcessTime&lt;/CODE&gt; function to build multi core CPU and Processor KPIs.&lt;/LI&gt;
&lt;LI&gt;Window perf monitor only reads cooked data, so if you want more precise results you can follow the steps described here on this blog :&lt;A href="https://robertlabrie.wordpress.com/2016/01/06/windows-cpu-monitoring-with-splunk/"&gt;https://robertlabrie.wordpress.com/2016/01/06/windows-cpu-monitoring-with-splunk/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Any limitations you are mentioning in your questions would be the same limitations for &lt;CODE&gt;GetProcessTime()&lt;/CODE&gt; if you've activated &lt;CODE&gt;useWinApiProcStats&lt;/CODE&gt; (which you should have since you're on a multi-core host &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;A href="https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getprocesstimes"&gt;https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getprocesstimes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 08:02:20 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-06-27T08:02:20Z</dc:date>
    <item>
      <title>Is there a problem with splunk getting data from the Perfmon Process counter?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-problem-with-splunk-getting-data-from-the-Perfmon/m-p/443173#M77200</link>
      <description>&lt;P&gt;Someone is telling me that Splunk doesn't grab Perfmon data properly...they are getting %Processor Time from both the Process and Processor counters.  They say that if they grab the data from Process for each process and add them up, they don't get the same value as the value from the Processor counter (even taking the number of CPUs/Cores/Hyperthreading into account).  They say they asked Splunk for updates and got some updates and they still don't work.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 21:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-problem-with-splunk-getting-data-from-the-Perfmon/m-p/443173#M77200</guid>
      <dc:creator>gregbo</dc:creator>
      <dc:date>2019-06-26T21:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a problem with splunk getting data from the Perfmon Process counter?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-problem-with-splunk-getting-data-from-the-Perfmon/m-p/443174#M77201</link>
      <description>&lt;P&gt;Hi @gregbo,&lt;/P&gt;

&lt;P&gt;It's true, &lt;CODE&gt;perfmon&lt;/CODE&gt; has a lot of limitations when it comes to monitoring processes. Did some research and some of the limitations are :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Perfmon doesn't collect null values for CPU usage.&lt;/LI&gt;
&lt;LI&gt;For multi-core Perfmon max CPU is 100% if the option &lt;CODE&gt;useWinApiProcStats&lt;/CODE&gt; is not set. This option is best practice is case of multi-core systems as it uses the&lt;CODE&gt;GetProcessTime&lt;/CODE&gt; function to build multi core CPU and Processor KPIs.&lt;/LI&gt;
&lt;LI&gt;Window perf monitor only reads cooked data, so if you want more precise results you can follow the steps described here on this blog :&lt;A href="https://robertlabrie.wordpress.com/2016/01/06/windows-cpu-monitoring-with-splunk/"&gt;https://robertlabrie.wordpress.com/2016/01/06/windows-cpu-monitoring-with-splunk/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Any limitations you are mentioning in your questions would be the same limitations for &lt;CODE&gt;GetProcessTime()&lt;/CODE&gt; if you've activated &lt;CODE&gt;useWinApiProcStats&lt;/CODE&gt; (which you should have since you're on a multi-core host &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;A href="https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getprocesstimes"&gt;https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-getprocesstimes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if that helps.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 08:02:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-problem-with-splunk-getting-data-from-the-Perfmon/m-p/443174#M77201</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-27T08:02:20Z</dc:date>
    </item>
  </channel>
</rss>

