<?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: splunk-perfmon.exe errors of Counter is not found in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452949#M78464</link>
    <description>&lt;P&gt;Windows servers with the configuration documented in Splunk App for Infrastructure 1.4.1.&lt;BR /&gt;
They both gather correctly metrics, albeit without prefix, AND generate daily &lt;STRONG&gt;each&lt;/STRONG&gt; hundreds of thousands of these error messages.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 14:57:28 GMT</pubDate>
    <dc:creator>greich</dc:creator>
    <dc:date>2019-10-24T14:57:28Z</dc:date>
    <item>
      <title>How to resolve splunk-perfmon.exe errors of Counter is not found?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452945#M78460</link>
      <description>&lt;P&gt;I have noticed that after updating the Universal Forwarder to 7.3.1 (not sure if it is that update or a Windows update) running on Windows 10 Pro (64bit) Version 1809. I get about 2735 of the same type of the following lines around the same time each day in the Forwarders splunkd.log file. Anyone got an idea of how to fix?&lt;/P&gt;
&lt;P&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: IO Data Bytes/sec&lt;BR /&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: IO Other Bytes/sec&lt;BR /&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: % Processor Time&lt;BR /&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: % User Time&lt;BR /&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: % Privileged Time&lt;BR /&gt;08-16-2019 20:56:04.314 -0700 ERROR ExecProcessor - message from "D:\SplunkUniversalForwarder\bin\splunk-perfmon.exe" splunk-perfmon - OutputHandler::composeOutput: Counter is not found: Page Faults/sec&lt;BR /&gt;... and more lines ...&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452945#M78460</guid>
      <dc:creator>dlpco</dc:creator>
      <dc:date>2023-01-23T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452946#M78461</link>
      <description>&lt;P&gt;Review the inputs.conf file on the UF server.  Check all of the 'perfmon://' stanzas and verify the counters listed are valid for the server.&lt;BR /&gt;&lt;BR /&gt;
You can get a list of counter names by running &lt;CODE&gt;typeperf -q&lt;/CODE&gt; on the server.  The output will look something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\Processor Information(*)\Interrupts/sec
\Processor Information(*)\% Privileged Time
\Processor Information(*)\% User Time
\Processor Information(*)\% Processor Time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The part between the first '\' and &lt;CODE&gt;(*)&lt;/CODE&gt; is the object name.  The part after the second '\' is the counter name.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 16:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452946#M78461</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-17T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452947#M78462</link>
      <description>&lt;P&gt;The names seem to be correct and these errors only happen once per day! They are all set with an interval of 600 so I would think that if the names were wrong it would complain more often. As an example, the log only shows this for the past few days:&lt;/P&gt;

&lt;P&gt;08-16-2019 20:56:03 (Many entries but all in the same second.)&lt;BR /&gt;
08-17-2019 02:22:33 (Only one entry)&lt;BR /&gt;
08-18-2019 17:43:02 (Only one entry)&lt;BR /&gt;
08-19-2019 18:16:01 (Many entries again!)&lt;/P&gt;

&lt;P&gt;Its almost like windows is not giving up the information - I just don't know how that is obtained. &lt;BR /&gt;
If I look at the date and time of these errors in Search (Looking at an hour of time selecting a "not found" counter ) I see a dip in the number of events for that minute ONLY.&lt;/P&gt;

&lt;P&gt;Any ideas where to go from there?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 02:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452947#M78462</guid>
      <dc:creator>dlpco</dc:creator>
      <dc:date>2019-08-20T02:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452948#M78463</link>
      <description>&lt;P&gt;Sorry, I don't. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 21:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452948#M78463</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-08-23T21:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452949#M78464</link>
      <description>&lt;P&gt;Windows servers with the configuration documented in Splunk App for Infrastructure 1.4.1.&lt;BR /&gt;
They both gather correctly metrics, albeit without prefix, AND generate daily &lt;STRONG&gt;each&lt;/STRONG&gt; hundreds of thousands of these error messages.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452949#M78464</guid>
      <dc:creator>greich</dc:creator>
      <dc:date>2019-10-24T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452950#M78465</link>
      <description>&lt;P&gt;I know this is a bit old, but any update on this?  I'm seeing the same thing in our environment.  Multiple versions of Windows (2008 R2, 2012, 2016, 2019), verified the inputs.conf stanzas match typeperf -q and data is collected but I get TONS of "counter not found" errors just like OP.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 14:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452950#M78465</guid>
      <dc:creator>michael_mcgrail</dc:creator>
      <dc:date>2020-03-04T14:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452951#M78466</link>
      <description>&lt;P&gt;Update in case anyone else ends up here...our issue was when Process PerfMon counters were enabled. &lt;BR /&gt;
 I opened a support case and Splunk had a JIRA; the issue is resolved in 8.0.2.  So the fix is to update to 8.0.2+ UFs on Windows.&lt;/P&gt;

&lt;P&gt;In comparing, here is where I see the changes:&lt;BR /&gt;
in /etc/system/bin/perfmon.cmd:&lt;BR /&gt;
echo             ^&lt;BR /&gt;
echo                 ^useWinApiProcStats^&lt;BR /&gt;
echo                 ^false^&lt;BR /&gt;
echo                 ^false^&lt;BR /&gt;
echo             ^&lt;/P&gt;

&lt;P&gt;in inputs.conf.spec:&lt;BR /&gt;
useWinApiProcStats = &lt;BR /&gt;
* Whether or not the Performance Monitor input uses process kernel mode and&lt;BR /&gt;
  user mode times to calculate CPU usage for a process, rather than using&lt;BR /&gt;
  the standard Performance Data Helper (PDH) APIs to calculate those values.&lt;BR /&gt;
* A problem was found in the PDH APIs that causes Performance Monitor inputs&lt;BR /&gt;
  to show maximum values of 100% usage for a process on multicore Windows&lt;BR /&gt;
  machines, even when the process uses more than 1 core at a time.&lt;BR /&gt;
* When you configure this setting to "true", the input uses the&lt;BR /&gt;
  GetProcessTime() function in the core Windows API to calculate&lt;BR /&gt;
  CPU usage for a process, for the following Performance Monitor&lt;BR /&gt;
  counters, only:&lt;BR /&gt;
** Processor Time&lt;BR /&gt;
** User Time&lt;BR /&gt;
** Privileged Time&lt;BR /&gt;
* This means that, if a process uses 5 of 8 cores on an 8-core machine, that&lt;BR /&gt;
  the input should return a value of around 500, rather than the incorrect 100.&lt;BR /&gt;
* When you configure the setting to "false", the input uses the standard&lt;BR /&gt;
  PDH APIs to calculate CPU usage for a process. On multicore systems, the&lt;BR /&gt;
  maximum value that PDH APIs return is 100, regardless of the number of&lt;BR /&gt;
  cores in the machine that the process uses.&lt;BR /&gt;
* Performance monitor inputs use the PDH APIs for all other Performance&lt;BR /&gt;
  Monitor counters. Configuring this setting has no effect on those counters.&lt;BR /&gt;
* NOTE: If the Windows machine uses a non-English system locale, and you&lt;BR /&gt;
  have set 'useWinApiProcStats' to "true" for a Performance Monitor input,&lt;BR /&gt;
  then you must also set 'useEnglishOnly' to "true" for that input.&lt;BR /&gt;
* Default: false&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 18:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/452951#M78466</guid>
      <dc:creator>michael_mcgrail</dc:creator>
      <dc:date>2020-04-02T18:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-perfmon.exe errors of Counter is not found</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/627955#M107761</link>
      <description>&lt;P&gt;This is an old topic but I have been able to fix this many times in different environments:&lt;/P&gt;&lt;P&gt;What you need to do on the forwarder host is rebuild the counters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To repair this you take the following steps to repair/rebuild the performance counters.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start--&amp;gt;Run→cmd--&amp;gt;(Run As Administrator)&lt;/LI&gt;&lt;LI&gt;Type the command:&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;C:\Windows\system32&amp;gt;lodctr /R&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;(capital R)&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 23 Jan 2023 09:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-resolve-splunk-perfmon-exe-errors-of-Counter-is-not-found/m-p/627955#M107761</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2023-01-23T09:16:48Z</dc:date>
    </item>
  </channel>
</rss>

