<?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: How to re-index data to one indexer when a forwarder is configured to send to two indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255889#M49125</link>
    <description>&lt;P&gt;still no luck even with crcSalt&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2016 16:10:18 GMT</pubDate>
    <dc:creator>DanielFordWA</dc:creator>
    <dc:date>2016-05-19T16:10:18Z</dc:date>
    <item>
      <title>How to re-index data to one indexer when a forwarder is configured to send to two indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255885#M49121</link>
      <description>&lt;P&gt;I have the following configuration on my forwarder.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup=indexer1,indexer2,indexer3

[tcpout:indexer1]
server=[*indexer1*]

[tcpout:indexer2]
server=[*indexer2*]

[tcpout:indexer3]
server=[*indexer3*]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The props.conf was configured incorrectly on indexer2.&lt;/P&gt;

&lt;P&gt;I need to re-index all the data on this server to indexer2.&lt;/P&gt;

&lt;P&gt;How can I do this without reindexing data for indexer1 and indexer3?&lt;/P&gt;

&lt;P&gt;There are hundreds of files, so oneshot does not seem to be an option.&lt;/P&gt;

&lt;P&gt;I know about deleting the fishbucket on the forwarder, but again, this would send data to all indexers.&lt;/P&gt;

&lt;P&gt;Hope you can help!&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 12:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255885#M49121</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2016-05-17T12:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-index data to one indexer when a forwarder is configured to send to two indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255886#M49122</link>
      <description>&lt;P&gt;1) Stop Splunk on indexer1 and indexer 2&lt;BR /&gt;
2) Copy the $SPLUNK_DB sub-directories of all relevant indexes from indexer 1 over to indexer 2&lt;BR /&gt;
3) Extract a Splunk package over the existing Splunk installation on indexer 2&lt;BR /&gt;
4) Start Splunk on both instances&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 20:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255886#M49122</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2016-05-17T20:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-index data to one indexer when a forwarder is configured to send to two indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255887#M49123</link>
      <description>&lt;P&gt;You can try this&lt;/P&gt;

&lt;P&gt;1) Create a new directory on the forwarder server to store the files that needs to be re-indexed (if original dir is &lt;CODE&gt;/var/opt/abc/xyz/something.log&lt;/CODE&gt;, create a dir &lt;CODE&gt;/var/opt/abc/xyz_resend&lt;/CODE&gt;) and copy the files needing re-indexing&lt;/P&gt;

&lt;P&gt;2) Create a new entry in inputs.conf (wherever you like, preferably under an app OR etc/system/local) to monitor the files in this new directory. Specify the property &lt;CODE&gt;_TCP_ROUTING&lt;/CODE&gt; for this monitoring stanza to send this to only indexer2.&lt;BR /&gt;
inputs.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/opt/abc/xyz_resend/something.log]
index=...
sourcetype=...
_TCP_ROUTING=tcpoutgroupNameforIndexer2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See this for more information on _TCP_ROUTING attribute &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Inputsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;3) Restart the forwarder and you should be done. You can remove the inputs.conf change once done OR keep this in case you need this in future.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255887#M49123</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T09:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-index data to one indexer when a forwarder is configured to send to two indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255888#M49124</link>
      <description>&lt;P&gt;Just to confirm, the above method should work on 6.2.0 forwarders?&lt;/P&gt;

&lt;P&gt;If I have another input, from the same forwarder, feeding the most recent data to Indexer2, to the same index and with the same sourcetype, at the same time as the back load, would this cause an issue?&lt;/P&gt;

&lt;P&gt;I missed 'crcSalt = ' off the resend input so will try again with a new folder.&lt;/P&gt;

&lt;P&gt;At the moment I am getting the most recent data but no data off the resend folder.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 08:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255888#M49124</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2016-05-19T08:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-index data to one indexer when a forwarder is configured to send to two indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255889#M49125</link>
      <description>&lt;P&gt;still no luck even with crcSalt&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 16:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-re-index-data-to-one-indexer-when-a-forwarder-is/m-p/255889#M49125</guid>
      <dc:creator>DanielFordWA</dc:creator>
      <dc:date>2016-05-19T16:10:18Z</dc:date>
    </item>
  </channel>
</rss>

