<?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: delete and create same index, data does not index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114103#M23855</link>
    <description>&lt;P&gt;I had deleted the indexes, if there a way to retrieve back instead of re-index each file manaully as i got more than 10000 of files? thks&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2014 09:07:19 GMT</pubDate>
    <dc:creator>SplunkCSIT</dc:creator>
    <dc:date>2014-04-01T09:07:19Z</dc:date>
    <item>
      <title>delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114100#M23852</link>
      <description>&lt;P&gt;Due to some error, i had deleted the test123 indexes at indexer, restart the indexer, create the test123 again. But somehow the data does not index anymore?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 03:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114100#M23852</guid>
      <dc:creator>SplunkCSIT</dc:creator>
      <dc:date>2014-04-01T03:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114101#M23853</link>
      <description>&lt;P&gt;Once captured logs will not be indexed. A new log is indexed. &lt;BR /&gt;
New log is also not indexed?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 04:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114101#M23853</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2014-04-01T04:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114102#M23854</link>
      <description>&lt;P&gt;Hi SplunkCSIT,&lt;/P&gt;

&lt;P&gt;Splunk keeps track of what was indexed and therefor does not re-index the same data again .... unless you do some work.&lt;/P&gt;

&lt;P&gt;The radical method is to clean the fishbucket index. That will remove the memory of every files, &lt;STRONG&gt;be warned it will re-index all data&lt;/STRONG&gt;.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;on an indexer &lt;CODE&gt;splunk clean eventdata -index _fishbucket&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;on a forwarder by removing the folder $SPLUNK_HOME/var/lib/splunk/fishbucket&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;You could selectively forgot a single file from the fish bucket like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk cmd btprobe -d $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db --file $FILE --reset
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could manually re-index each file with the &lt;CODE&gt;oneshot&lt;/CODE&gt; option &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add oneshot "/path/to/my/file.log" -sourcetype mysourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could modify the first line of the files to re-index, by default Splunk checks the first 256 chars of a file to differentiate them. If you had a simple comment on the first line it wil reindex it &lt;/P&gt;

&lt;P&gt;You could change the crcSalt, create a new input for a new folder, add all the correct sourcetypes, etc... add the option &lt;CODE&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; then move or copy the files to be re-index to the folder.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 06:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114102#M23854</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-01T06:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114103#M23855</link>
      <description>&lt;P&gt;I had deleted the indexes, if there a way to retrieve back instead of re-index each file manaully as i got more than 10000 of files? thks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114103#M23855</guid>
      <dc:creator>SplunkCSIT</dc:creator>
      <dc:date>2014-04-01T09:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114104#M23856</link>
      <description>&lt;P&gt;if your files will be read by an universal forwarder, than your forwarder &lt;CODE&gt;fishbucket&lt;/CODE&gt; must be cleaned as well, after that your files will be re-indexed&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114104#M23856</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-01T09:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: delete and create same index, data does not index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114105#M23857</link>
      <description>&lt;P&gt;I got alot of indexes but i only want to remove one particular indexes, what will be the steps, thks a lot for assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/delete-and-create-same-index-data-does-not-index/m-p/114105#M23857</guid>
      <dc:creator>SplunkCSIT</dc:creator>
      <dc:date>2014-04-01T09:39:07Z</dc:date>
    </item>
  </channel>
</rss>

