<?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 How to selectively not forward based on index? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-selectively-not-forward-based-on-index/m-p/51431#M2872</link>
    <description>&lt;P&gt;I have a full Splunk instance that indexes and forwards (&lt;CODE&gt;indexAndForward = true&lt;/CODE&gt;). I also installed the *NIX app on the forwarder instance.&lt;/P&gt;

&lt;P&gt;Now the forwarder is trying to send all of the *NIX app inputs with &lt;CODE&gt;index = os&lt;/CODE&gt; to my indexer and my search head/indexer is giving the following warning:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Search peer splunk-id1 has the following message: received event for unconfigured/disabled/deleted index='os' with source='source::netstat' host='host::hobbes3-server' sourcetype='sourcetype::netstat' (1 missing total)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe the indexer is confused because there is no os index on the indexer. Beside, I don't want to forward my *NIX app inputs to the indexer anyway.&lt;/P&gt;

&lt;P&gt;Is there a way to selectively not forward the os index?&lt;/P&gt;

&lt;P&gt;I know &lt;A href="http://answers.splunk.com/answers/8226/selective-indexing-and-forwarding-based-on-source"&gt;this answer&lt;/A&gt; shows how to selectively index and forward, but it's by source. The *NIX app has about 25 inputs and I don't want to type &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; 25 times in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Here is my &lt;CODE&gt;outputs.conf&lt;/CODE&gt; if that's useful for anyone:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@hobbes3-server /opt/splunk/bin # ./splunk cmd btool outputs list --debug
/opt/splunk/etc/system/local/outputs.conf   [tcpout]
/opt/splunk/etc/system/local/outputs.conf   autoLB = true
/opt/splunk/etc/system/default/outputs.conf autoLBFrequency = 30
/opt/splunk/etc/system/default/outputs.conf blockOnCloning = true
/opt/splunk/etc/system/default/outputs.conf compressed = false
/opt/splunk/etc/system/default/outputs.conf connectionTimeout = 20
/opt/splunk/etc/system/local/outputs.conf   defaultGroup = ec2_indexers
/opt/splunk/etc/system/default/outputs.conf disabled = false
/opt/splunk/etc/system/default/outputs.conf dropClonedEventsOnQueueFull = 5
/opt/splunk/etc/system/default/outputs.conf dropEventsOnQueueFull = -1
/opt/splunk/etc/system/default/outputs.conf forceTimebasedAutoLB = false
/opt/splunk/etc/system/default/outputs.conf forwardedindex.0.whitelist = .*
/opt/splunk/etc/system/default/outputs.conf forwardedindex.1.blacklist = _.*
/opt/splunk/etc/system/default/outputs.conf forwardedindex.2.whitelist = (_audit|_internal)
/opt/splunk/etc/system/default/outputs.conf forwardedindex.filter.disable = false
/opt/splunk/etc/system/default/outputs.conf heartbeatFrequency = 30
/opt/splunk/etc/system/local/outputs.conf   indexAndForward = true
/opt/splunk/etc/system/default/outputs.conf maxConnectionsPerIndexer = 2
/opt/splunk/etc/system/default/outputs.conf maxFailuresPerInterval = 2
/opt/splunk/etc/system/local/outputs.conf   maxQueueSize = 7MB
/opt/splunk/etc/system/default/outputs.conf readTimeout = 300
/opt/splunk/etc/system/default/outputs.conf secsInFailureInterval = 1
/opt/splunk/etc/system/default/outputs.conf sendCookedData = true
/opt/splunk/etc/system/local/outputs.conf   useACK = true
/opt/splunk/etc/system/default/outputs.conf writeTimeout = 300
/opt/splunk/etc/system/local/outputs.conf   [tcpout:ec2_indexers]
/opt/splunk/etc/system/local/outputs.conf   server = aa.aa.aa.aa:9997, bb.bb.bb.bb:9997, cc.cc.cc.cc:9997, dd.dd.dd.dd:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Aug 2013 18:12:39 GMT</pubDate>
    <dc:creator>hobbes3</dc:creator>
    <dc:date>2013-08-29T18:12:39Z</dc:date>
    <item>
      <title>How to selectively not forward based on index?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-selectively-not-forward-based-on-index/m-p/51431#M2872</link>
      <description>&lt;P&gt;I have a full Splunk instance that indexes and forwards (&lt;CODE&gt;indexAndForward = true&lt;/CODE&gt;). I also installed the *NIX app on the forwarder instance.&lt;/P&gt;

&lt;P&gt;Now the forwarder is trying to send all of the *NIX app inputs with &lt;CODE&gt;index = os&lt;/CODE&gt; to my indexer and my search head/indexer is giving the following warning:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Search peer splunk-id1 has the following message: received event for unconfigured/disabled/deleted index='os' with source='source::netstat' host='host::hobbes3-server' sourcetype='sourcetype::netstat' (1 missing total)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe the indexer is confused because there is no os index on the indexer. Beside, I don't want to forward my *NIX app inputs to the indexer anyway.&lt;/P&gt;

&lt;P&gt;Is there a way to selectively not forward the os index?&lt;/P&gt;

&lt;P&gt;I know &lt;A href="http://answers.splunk.com/answers/8226/selective-indexing-and-forwarding-based-on-source"&gt;this answer&lt;/A&gt; shows how to selectively index and forward, but it's by source. The *NIX app has about 25 inputs and I don't want to type &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; 25 times in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Here is my &lt;CODE&gt;outputs.conf&lt;/CODE&gt; if that's useful for anyone:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root@hobbes3-server /opt/splunk/bin # ./splunk cmd btool outputs list --debug
/opt/splunk/etc/system/local/outputs.conf   [tcpout]
/opt/splunk/etc/system/local/outputs.conf   autoLB = true
/opt/splunk/etc/system/default/outputs.conf autoLBFrequency = 30
/opt/splunk/etc/system/default/outputs.conf blockOnCloning = true
/opt/splunk/etc/system/default/outputs.conf compressed = false
/opt/splunk/etc/system/default/outputs.conf connectionTimeout = 20
/opt/splunk/etc/system/local/outputs.conf   defaultGroup = ec2_indexers
/opt/splunk/etc/system/default/outputs.conf disabled = false
/opt/splunk/etc/system/default/outputs.conf dropClonedEventsOnQueueFull = 5
/opt/splunk/etc/system/default/outputs.conf dropEventsOnQueueFull = -1
/opt/splunk/etc/system/default/outputs.conf forceTimebasedAutoLB = false
/opt/splunk/etc/system/default/outputs.conf forwardedindex.0.whitelist = .*
/opt/splunk/etc/system/default/outputs.conf forwardedindex.1.blacklist = _.*
/opt/splunk/etc/system/default/outputs.conf forwardedindex.2.whitelist = (_audit|_internal)
/opt/splunk/etc/system/default/outputs.conf forwardedindex.filter.disable = false
/opt/splunk/etc/system/default/outputs.conf heartbeatFrequency = 30
/opt/splunk/etc/system/local/outputs.conf   indexAndForward = true
/opt/splunk/etc/system/default/outputs.conf maxConnectionsPerIndexer = 2
/opt/splunk/etc/system/default/outputs.conf maxFailuresPerInterval = 2
/opt/splunk/etc/system/local/outputs.conf   maxQueueSize = 7MB
/opt/splunk/etc/system/default/outputs.conf readTimeout = 300
/opt/splunk/etc/system/default/outputs.conf secsInFailureInterval = 1
/opt/splunk/etc/system/default/outputs.conf sendCookedData = true
/opt/splunk/etc/system/local/outputs.conf   useACK = true
/opt/splunk/etc/system/default/outputs.conf writeTimeout = 300
/opt/splunk/etc/system/local/outputs.conf   [tcpout:ec2_indexers]
/opt/splunk/etc/system/local/outputs.conf   server = aa.aa.aa.aa:9997, bb.bb.bb.bb:9997, cc.cc.cc.cc:9997, dd.dd.dd.dd:9997
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Aug 2013 18:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-selectively-not-forward-based-on-index/m-p/51431#M2872</guid>
      <dc:creator>hobbes3</dc:creator>
      <dc:date>2013-08-29T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively not forward based on index?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-selectively-not-forward-based-on-index/m-p/51432#M2873</link>
      <description>&lt;P&gt;Add an entry in your outputs.conf (in an application, or in system/local), to say "forwardedindex.3.blacklist = os". This adds to the list of filters (you'll see 0, 1 and 2), to say "don't send the os index".&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:01:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-selectively-not-forward-based-on-index/m-p/51432#M2873</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-08-29T22:01:00Z</dc:date>
    </item>
  </channel>
</rss>

