<?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: Perfmon: Unable to get data from index search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491722#M84014</link>
    <description>&lt;P&gt;Greetings @prsubramanian,&lt;/P&gt;

&lt;P&gt;For starters, &lt;STRONG&gt;never, ever, ever&lt;/STRONG&gt; modify &lt;STRONG&gt;any&lt;/STRONG&gt; file in the \default\ directory, &lt;STRONG&gt;EVER&lt;/STRONG&gt;. If you ever go to upgrade your Splunk TA Windows app (which hopefully you will), all changes in \default\ will be overridden. This is expected, default Splunk behavior for all apps. Before you continue on, restore the \default\ folder back to what it was when you installed the app.&lt;/P&gt;

&lt;P&gt;Once you've finished that, your issue is that the CPU counters listed are not in the &lt;CODE&gt;[perfmon://Host Process]&lt;/CODE&gt; stanza. Instead of modifying the \default\ directory, copy \defaults\inputs.conf into \local\inputs.conf. Now, you can edit this file (in the \local\ directory).&lt;/P&gt;

&lt;P&gt;Delete &lt;EM&gt;everything&lt;/EM&gt; in this file except for this stanza: &lt;CODE&gt;[perfmon://CPU]&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;This should be your entire \local\inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://CPU]
disabled = 0
index = Process_tier1_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will enable all CPU counters for you. A restart after making these changes will bring data to your index. If you'd only like some of the counters, feel free to further restrict them, e.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://CPU]
counters = % Processor Time
disabled = 0
index = Process_tier1_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;followed by another restart.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Jacob&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 21:18:14 GMT</pubDate>
    <dc:creator>jacobpevans</dc:creator>
    <dc:date>2019-10-01T21:18:14Z</dc:date>
    <item>
      <title>Perfmon: Unable to get data from index search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491721#M84013</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I want to get the CPU Usage of windows host - CPU Usage, so trying to get the CPU Usage using counters = % Processor Time; from below inputs.conf&lt;/P&gt;

&lt;P&gt;Inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://Host Process]
_TCP_ROUTING = Infra_monitoring_indexer1
counters = % Processor Time; Thread Count; ID Process; Private Bytes; IO Read Operations/sec; IO Write Operations/sec; Virtual Bytes; Page File Bytes
disabled = 0
instances = *
interval = 60
object = Process
index = Process_tier1_idx
showZeroValue = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Path: &lt;CODE&gt;C:\Program Files\Splunk\etc\apps\process-windows-idx\appserver\addons\win_x86_64\Splunk_TA_windows\default\inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;After restarting the Splunk service and search using  &lt;CODE&gt;index=Process_tier1_idx&lt;/CODE&gt; but no results were displaying.&lt;/P&gt;

&lt;P&gt;Please let me know how to get data in the index? &lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 13:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491721#M84013</guid>
      <dc:creator>prsubramanian</dc:creator>
      <dc:date>2019-10-01T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon: Unable to get data from index search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491722#M84014</link>
      <description>&lt;P&gt;Greetings @prsubramanian,&lt;/P&gt;

&lt;P&gt;For starters, &lt;STRONG&gt;never, ever, ever&lt;/STRONG&gt; modify &lt;STRONG&gt;any&lt;/STRONG&gt; file in the \default\ directory, &lt;STRONG&gt;EVER&lt;/STRONG&gt;. If you ever go to upgrade your Splunk TA Windows app (which hopefully you will), all changes in \default\ will be overridden. This is expected, default Splunk behavior for all apps. Before you continue on, restore the \default\ folder back to what it was when you installed the app.&lt;/P&gt;

&lt;P&gt;Once you've finished that, your issue is that the CPU counters listed are not in the &lt;CODE&gt;[perfmon://Host Process]&lt;/CODE&gt; stanza. Instead of modifying the \default\ directory, copy \defaults\inputs.conf into \local\inputs.conf. Now, you can edit this file (in the \local\ directory).&lt;/P&gt;

&lt;P&gt;Delete &lt;EM&gt;everything&lt;/EM&gt; in this file except for this stanza: &lt;CODE&gt;[perfmon://CPU]&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;This should be your entire \local\inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://CPU]
disabled = 0
index = Process_tier1_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will enable all CPU counters for you. A restart after making these changes will bring data to your index. If you'd only like some of the counters, feel free to further restrict them, e.g.:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://CPU]
counters = % Processor Time
disabled = 0
index = Process_tier1_idx
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;followed by another restart.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Jacob&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 21:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491722#M84014</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2019-10-01T21:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Perfmon: Unable to get data from index search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491723#M84015</link>
      <description>&lt;P&gt;I also just noticed that your installation path does not look correct. I recommend deleting the Splunk_TA_Windows folder and reinstalling via the Splunk GUI. The path for any Splunk app or add-on should look like this:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$SPLUNK_HOME\etc\apps\Splunk_TA_windows&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Where &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt; is &lt;CODE&gt;C:\Program Files\Splunk&lt;/CODE&gt; for your installation.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:22:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Perfmon-Unable-to-get-data-from-index-search/m-p/491723#M84015</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2020-09-30T02:22:15Z</dc:date>
    </item>
  </channel>
</rss>

