<?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 is data received from a remote Splunk instance not being collected in the specified index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209721#M41313</link>
    <description>&lt;P&gt;I thought this was because the intermediate indexer  sending cooked data to the final indexer?  If so I was thinking that using the route settings as &lt;A href="http://answers.splunk.com/answers/5528/forwarding-select-data-in-my-environment.html"&gt;described in this answer&lt;/A&gt; would make sure the data goes though the parsing queues again.  Does setting you mention for default-mode.conf do something similar? Thanks..&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2015 04:35:54 GMT</pubDate>
    <dc:creator>cramasta</dc:creator>
    <dc:date>2015-09-11T04:35:54Z</dc:date>
    <item>
      <title>Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209718#M41310</link>
      <description>&lt;P&gt;Our Splunk instance is currently receiving data from a remote Splunk instance.  The remote indexer is sending data (many hosts with many different sourcetypes) to our indexers over TCP port 9998.  We are interested in forcing this data to be collected in a custom index.&lt;/P&gt;

&lt;P&gt;I have confirmed that we are receiving data from the remote Splunk on port 9998, however, it is not being collected in the desired index.  The following are the inputs.conf, props.conf, and transforms.conf which I currently have in place:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;P&gt;[splunktcp://:9998]&lt;/P&gt;

&lt;H1&gt;index=CustomIndex&lt;/H1&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[source::tcp:9998]&lt;/P&gt;

&lt;H1&gt;TRANSFORMS-force_index = setIndexMeta&lt;/H1&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;[setIndexMeta]&lt;BR /&gt;
DEFAULT_VALUE = unknown&lt;BR /&gt;
REGEX = (.)&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;/P&gt;

&lt;H1&gt;FORMAT = CustomIndex&lt;/H1&gt;

&lt;P&gt;I would appreciate assistance with this.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209718#M41310</guid>
      <dc:creator>adamblock2</dc:creator>
      <dc:date>2020-09-29T07:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209719#M41311</link>
      <description>&lt;P&gt;Forget &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; and just do this inside &lt;CODE&gt;$SPLUNK_HOME/etc/apps/MyApp/default/inputs.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://:9998]
index=CustomIndex
sourcetype=MySourceType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You also need to make sure you check/add this inside &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/default-mode.conf&lt;/CODE&gt; (it defaults to disabled):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pipeline:tcp]
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you need to bounce all Splunk instances on the servers that get these files.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 03:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209719#M41311</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-11T03:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209720#M41312</link>
      <description>&lt;P&gt;In addition: The lines in &lt;CODE&gt;default-mode.conf&lt;/CODE&gt; are only needed if this will be done on a forwarder.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 03:52:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209720#M41312</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-09-11T03:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209721#M41313</link>
      <description>&lt;P&gt;I thought this was because the intermediate indexer  sending cooked data to the final indexer?  If so I was thinking that using the route settings as &lt;A href="http://answers.splunk.com/answers/5528/forwarding-select-data-in-my-environment.html"&gt;described in this answer&lt;/A&gt; would make sure the data goes though the parsing queues again.  Does setting you mention for default-mode.conf do something similar? Thanks..&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 04:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209721#M41313</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2015-09-11T04:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209722#M41314</link>
      <description>&lt;P&gt;What do you mean by "intermediate indexer"?  What is your architecture?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 04:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209722#M41314</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-11T04:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209723#M41315</link>
      <description>&lt;P&gt;Sounds like from the original poster that they are receiving data from another indexer.  Thought the data might be fully cooked by the time it gets to him and not go though the parsing queues to set the the new index.&lt;/P&gt;

&lt;P&gt;"The remote indexer is sending data to our indexers over TCP port 9998"&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 05:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209723#M41315</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2015-09-11T05:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209724#M41316</link>
      <description>&lt;P&gt;It sounds like the OP has a remote Splunk instance and is forwarding data from that instance to his main instance.  He wants to force the data coming from the remote instance into a certain "special" index and not into the main/default/or whatever index the remote instance is putting the data into.&lt;/P&gt;

&lt;P&gt;If parsing is already done by something else then the indexer is going to ignore the props and transforms, so I see why you said that they can be forgotten.  But he has the index in inputs and it seems that it still isn't working.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209724#M41316</guid>
      <dc:creator>jclehmuth</dc:creator>
      <dc:date>2015-09-11T12:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is data received from a remote Splunk instance not being collected in the specified index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209725#M41317</link>
      <description>&lt;P&gt;"When you forward structured data to an indexer, Splunk Enterprise does not parse this data once it arrives at the indexer, even if you have configured props.conf on that indexer with INDEXED_EXTRACTIONS. Forwarded data skips the following queues on the indexer, which precludes any parsing of that data on the indexer:&lt;/P&gt;

&lt;P&gt;parsing&lt;BR /&gt;
aggregation&lt;BR /&gt;
typing&lt;BR /&gt;
The forwarded data must arrive at the indexer already parsed."&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.4/Forwarding/Routeandfilterdatad" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.4/Forwarding/Routeandfilterdatad&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;An expensive work around could be done by adding this to the inputs.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[splunktcp://9998]&lt;BR /&gt;
route=has_key:_utf8:parsingQueue;has_key:_linebreaker:parsingQueue;absent_key:_utf8:parsingQueue;absent_key:_linebreaker:parsingQueue&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Found here:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/97918/reparsing-cooked-data-coming-from-a-heavy-forwarder-possible.html" target="_blank"&gt;http://answers.splunk.com/answers/97918/reparsing-cooked-data-coming-from-a-heavy-forwarder-possible.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/5528/forwarding-select-data-in-my-environment.html" target="_blank"&gt;http://answers.splunk.com/answers/5528/forwarding-select-data-in-my-environment.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-data-received-from-a-remote-Splunk-instance-not-being/m-p/209725#M41317</guid>
      <dc:creator>jclehmuth</dc:creator>
      <dc:date>2020-09-29T07:11:58Z</dc:date>
    </item>
  </channel>
</rss>

