<?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: Does installing a universal forwarder cause re-indexing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169687#M34297</link>
    <description>&lt;P&gt;We just installed Splunk and wanted to index an year's worth of data. So the mod times of these files vary from 1 day to 365 days. There is no way of knowing which files are  indexed and which files are still in the process of being indexed. So I still want the yet-to-be-indexed files to be indexed.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2015 22:21:07 GMT</pubDate>
    <dc:creator>nivedita_viswan</dc:creator>
    <dc:date>2015-03-05T22:21:07Z</dc:date>
    <item>
      <title>Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169685#M34295</link>
      <description>&lt;P&gt;At present, we have a stand-alone Splunk server, monitoring a mapped directory of log files. In order to reduce the load, we are adding a search head, and also want to install a universal forwarder that will forward the files in the mapped directory to the indexer. Most of the log files in the mapped directory are already indexed, while about 10-15% of the files are yet to be indexed. &lt;/P&gt;

&lt;P&gt;I believe installing a forwarder and forwarding these files to Splunk should not cause re-indexing, since Splunk keeps track of the files that have already been indexed. However, when  I tried this scenario in a test environment, with a small subset of the data, I noticed all the files in the directory were re-indexed. Is this to be expected? Or is there something wrong with my configuration?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 21:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169685#M34295</guid>
      <dc:creator>nivedita_viswan</dc:creator>
      <dc:date>2015-03-05T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169686#M34296</link>
      <description>&lt;P&gt;Not sure how to limit this altogether, however you could temporarily set the MAX_DAYS_AGO value for the sourcetype on your indexer to ensure it doesn't reindex more than one day. You could then delete duplicate events with | delete command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# in props.conf on indexer
[my_source_type]
MAX_DAYS_AGO = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From documentation:&lt;BR /&gt;
MAX_DAYS_AGO = &lt;BR /&gt;
* Specifies the maximum number of days past, from the current date, that an extracted date&lt;BR /&gt;
  can be valid.&lt;BR /&gt;
* For example, if MAX_DAYS_AGO = 10, Splunk ignores dates that are older than 10 days ago.&lt;BR /&gt;
* Defaults to 2000 (days), maximum 10951.&lt;BR /&gt;
* IMPORTANT: If your data is older than 2000 days, increase this setting.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169686#M34296</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2020-09-28T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169687#M34297</link>
      <description>&lt;P&gt;We just installed Splunk and wanted to index an year's worth of data. So the mod times of these files vary from 1 day to 365 days. There is no way of knowing which files are  indexed and which files are still in the process of being indexed. So I still want the yet-to-be-indexed files to be indexed.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 22:21:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169687#M34297</guid>
      <dc:creator>nivedita_viswan</dc:creator>
      <dc:date>2015-03-05T22:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169688#M34298</link>
      <description>&lt;P&gt;Is the path of the mapped directory the same on the server as on the UF?&lt;BR /&gt;
You could try to copy the "_fishbucket" directory from the server to the UF (and restart)&lt;/P&gt;

&lt;P&gt;The _fishbucket index keeps track of what is indexed and what not.&lt;/P&gt;

&lt;P&gt;Haven't tested it, but in theory it should work&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 10:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169688#M34298</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2015-03-09T10:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169689#M34299</link>
      <description>&lt;P&gt;Yes, the path is the same. Thanks for the suggestion, let me give it a shot.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169689#M34299</guid>
      <dc:creator>nivedita_viswan</dc:creator>
      <dc:date>2015-03-09T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169690#M34300</link>
      <description>&lt;P&gt;Would be interesting to know if the _fishbucket method mentioned below works out for you. Otherwise, you would also have the option of cleaning the index after installing the Universal Forwarder causing a reindex of all events for that index.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;make sure you have the source logs before doing following as it will permanently remove all events from the index you specify below.
splunk stop
splunk clean eventdata myindexnamehere
splunk start&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169690#M34300</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2015-03-09T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169691#M34301</link>
      <description>&lt;P&gt;it should be "_thefishbucket"  btw&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 06:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169691#M34301</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2015-03-10T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Does installing a universal forwarder cause re-indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169692#M34302</link>
      <description>&lt;P&gt;For now, we decided against installing the forwarder. So I won't get a chance to try out these suggestions. I'll update here if we do try this in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 18:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-installing-a-universal-forwarder-cause-re-indexing/m-p/169692#M34302</guid>
      <dc:creator>nivedita_viswan</dc:creator>
      <dc:date>2015-03-11T18:23:41Z</dc:date>
    </item>
  </channel>
</rss>

