<?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: Changing the index on forwarded data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80364#M16561</link>
    <description>&lt;P&gt;Note that reparsing already parsed events means that they will be timestamped and possibly merged a second time, with possibly worse results than the first time.&lt;/P&gt;

&lt;P&gt;There are also some performance costs with processing all data again even if it is already processed.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2011 23:45:46 GMT</pubDate>
    <dc:creator>jrodman</dc:creator>
    <dc:date>2011-04-13T23:45:46Z</dc:date>
    <item>
      <title>Changing the index on forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80361#M16558</link>
      <description>&lt;P&gt;I have one Splunk indexer that both indexes and forwards the data to a second Splunk indexer.  The name of the index is not the same on both indexers.  When the data is received by the second indexer, I get the error that it received an event for an unrecognized index.  &lt;/P&gt;

&lt;P&gt;How can I change the index when it's sent to the second indexer?  I've tried adding an index=newindex to the inputs.conf on the second indexer, but it's still trying to use the name of the index from the first indexer.  &lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2011 10:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80361#M16558</guid>
      <dc:creator>brianm1002</dc:creator>
      <dc:date>2011-04-13T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the index on forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80362#M16559</link>
      <description>&lt;P&gt;Why not just name the indexes the same? It's not really a good idea to configure Splunk to be able to make this change. Basically, you would need to put: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp]
route=has_key:_linebreaker:parsingQueue;absent_key:_utf8:parsingQueue;absent_key:_linebreaker:parsingQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;into inputs.conf on the second indexer, then send all the received data through a TRANSFORM to set the index key. This can have non-trivial consequences, so I strongly discourage it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2011 11:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80362#M16559</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-04-13T11:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the index on forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80363#M16560</link>
      <description>&lt;P&gt;The first indexer is managed by a different department and I have no control over it. The second indexer is one that I maintain, and I'm currently using multiple indexes to segregate different sets of data based on disk space and retention requirements.&lt;/P&gt;

&lt;P&gt;What are some of the consequences of doing as you suggest?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2011 11:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80363#M16560</guid>
      <dc:creator>brianm1002</dc:creator>
      <dc:date>2011-04-13T11:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the index on forwarded data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80364#M16561</link>
      <description>&lt;P&gt;Note that reparsing already parsed events means that they will be timestamped and possibly merged a second time, with possibly worse results than the first time.&lt;/P&gt;

&lt;P&gt;There are also some performance costs with processing all data again even if it is already processed.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2011 23:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-the-index-on-forwarded-data/m-p/80364#M16561</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2011-04-13T23:45:46Z</dc:date>
    </item>
  </channel>
</rss>

