<?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: Why are the indexers trying to execute these command if they are defined as 'local = true'? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322977#M60134</link>
    <description>&lt;P&gt;there is nothing in local/ to override default/commands,conf, and nothing there got overwritten in the upgrade. The btool says that the local = true in default is being used.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         [netbotzextract]
/opt/splunk/etc/system/default/commands.conf                         changes_colorder = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         enableheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         filename = netbotzextract.py
/opt/splunk/etc/system/default/commands.conf                         generates_timeorder = false
/opt/splunk/etc/system/default/commands.conf                         generating = false
/opt/splunk/etc/system/default/commands.conf                         is_risky = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         local = true
/opt/splunk/etc/system/default/commands.conf                         maxinputs = 50000
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         outputheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         overrides_timeorder = true
/opt/splunk/etc/system/default/commands.conf                         passauth = false
/opt/splunk/etc/system/default/commands.conf                         perf_warn_limit = 0
/opt/splunk/etc/system/default/commands.conf                         required_fields = *
/opt/splunk/etc/system/default/commands.conf                         requires_preop = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         requires_srinfo = true
/opt/splunk/etc/system/default/commands.conf                         retainsevents = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         stderr_dest = message
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         streaming = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_getinfo = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_multivalues = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_rawargs = true
/opt/splunk/etc/system/default/commands.conf                         type = python
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         [netbotzreport]
/opt/splunk/etc/system/default/commands.conf                         changes_colorder = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         enableheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         filename = netbotzreport.py
/opt/splunk/etc/system/default/commands.conf                         generates_timeorder = false
/opt/splunk/etc/system/default/commands.conf                         generating = false
/opt/splunk/etc/system/default/commands.conf                         is_risky = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         local = true
/opt/splunk/etc/system/default/commands.conf                         maxinputs = 50000
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         outputheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         overrides_timeorder = true
/opt/splunk/etc/system/default/commands.conf                         passauth = false
/opt/splunk/etc/system/default/commands.conf                         perf_warn_limit = 0
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         required_fields = mib,oid,snmp_index,value
/opt/splunk/etc/system/default/commands.conf                         requires_preop = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         requires_srinfo = true
/opt/splunk/etc/system/default/commands.conf                         retainsevents = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         stderr_dest = message
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         streaming = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_getinfo = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_multivalues = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_rawargs = true
/opt/splunk/etc/system/default/commands.conf                         type = python
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Feb 2018 13:43:52 GMT</pubDate>
    <dc:creator>wegscd</dc:creator>
    <dc:date>2018-02-27T13:43:52Z</dc:date>
    <item>
      <title>Why are the indexers trying to execute these command if they are defined as 'local = true'?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322975#M60132</link>
      <description>&lt;P&gt;We've had some custom commands defined on our indexers for years. Here is /opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[netbotzreport]
filename = netbotzreport.py
enableheader = true
outputheader = true
requires_srinfo = true
stderr_dest = message
supports_getinfo = true
supports_rawargs = true
supports_multivalues = true
local = true
streaming = true
# this should not be necessary
overrides_timeorder = true
required_fields=mib,oid,snmp_index,value

[netbotzextract]
filename = netbotzextract.py
enableheader = true
outputheader = true
requires_srinfo = true
stderr_dest = message
supports_getinfo = true
supports_rawargs = true
supports_multivalues = true
local = true
streaming = true
# this should not be necessary
overrides_timeorder = true

[pipesniff]
filename = pipesniff.py
enableheader = true
outputheader = true
requires_srinfo = true
stderr_dest = message
supports_getinfo = true
supports_rawargs = true
supports_multivalues = true
local = true
streaming = true
Sometime in the last month, searches using these commands have started failing with these messages from the indexers:

[awnulsplunkp1] Search Factory: Unknown search command 'netbotzextract'.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We did a 6.5 -&amp;gt; 7.0 last week, which I suspect is what changed.&lt;/P&gt;

&lt;P&gt;Why are the indexers trying to execute these command if they are defined as 'local = true'?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:29:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322975#M60132</guid>
      <dc:creator>wegscd</dc:creator>
      <dc:date>2018-02-26T18:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the indexers trying to execute these command if they are defined as 'local = true'?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322976#M60133</link>
      <description>&lt;P&gt;Hey wegscd,&lt;/P&gt;

&lt;P&gt;Any customization that is done has to be done in /opt/splunk/etc/apps/whirlpool_netbotz/local/commands.conf that is local and not in default directory.&lt;BR /&gt;
The changes that were done in default directory got overwritten after the upgrade.&lt;/P&gt;

&lt;P&gt;Create a commands.conf file in local directory in your app and add the changes there.&lt;BR /&gt;
And you can cross check what configs are used by indexer by running following command on indexer&lt;/P&gt;

&lt;P&gt;/$SPLUNK_HOME$/bin/splunk cmd btool commands list  --debug&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 05:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322976#M60133</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-02-27T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the indexers trying to execute these command if they are defined as 'local = true'?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322977#M60134</link>
      <description>&lt;P&gt;there is nothing in local/ to override default/commands,conf, and nothing there got overwritten in the upgrade. The btool says that the local = true in default is being used.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         [netbotzextract]
/opt/splunk/etc/system/default/commands.conf                         changes_colorder = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         enableheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         filename = netbotzextract.py
/opt/splunk/etc/system/default/commands.conf                         generates_timeorder = false
/opt/splunk/etc/system/default/commands.conf                         generating = false
/opt/splunk/etc/system/default/commands.conf                         is_risky = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         local = true
/opt/splunk/etc/system/default/commands.conf                         maxinputs = 50000
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         outputheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         overrides_timeorder = true
/opt/splunk/etc/system/default/commands.conf                         passauth = false
/opt/splunk/etc/system/default/commands.conf                         perf_warn_limit = 0
/opt/splunk/etc/system/default/commands.conf                         required_fields = *
/opt/splunk/etc/system/default/commands.conf                         requires_preop = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         requires_srinfo = true
/opt/splunk/etc/system/default/commands.conf                         retainsevents = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         stderr_dest = message
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         streaming = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_getinfo = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_multivalues = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_rawargs = true
/opt/splunk/etc/system/default/commands.conf                         type = python
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         [netbotzreport]
/opt/splunk/etc/system/default/commands.conf                         changes_colorder = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         enableheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         filename = netbotzreport.py
/opt/splunk/etc/system/default/commands.conf                         generates_timeorder = false
/opt/splunk/etc/system/default/commands.conf                         generating = false
/opt/splunk/etc/system/default/commands.conf                         is_risky = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         local = true
/opt/splunk/etc/system/default/commands.conf                         maxinputs = 50000
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         outputheader = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         overrides_timeorder = true
/opt/splunk/etc/system/default/commands.conf                         passauth = false
/opt/splunk/etc/system/default/commands.conf                         perf_warn_limit = 0
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         required_fields = mib,oid,snmp_index,value
/opt/splunk/etc/system/default/commands.conf                         requires_preop = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         requires_srinfo = true
/opt/splunk/etc/system/default/commands.conf                         retainsevents = false
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         stderr_dest = message
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         streaming = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_getinfo = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_multivalues = true
/opt/splunk/etc/apps/whirlpool_netbotz/default/commands.conf         supports_rawargs = true
/opt/splunk/etc/system/default/commands.conf                         type = python
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2018 13:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322977#M60134</guid>
      <dc:creator>wegscd</dc:creator>
      <dc:date>2018-02-27T13:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the indexers trying to execute these command if they are defined as 'local = true'?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322978#M60135</link>
      <description>&lt;P&gt;I am having the same problem. &lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 08:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-indexers-trying-to-execute-these-command-if-they-are/m-p/322978#M60135</guid>
      <dc:creator>kiril123</dc:creator>
      <dc:date>2018-09-27T08:52:27Z</dc:date>
    </item>
  </channel>
</rss>

