<?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: Re-index directory data after indexing into temp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28018#M177799</link>
    <description>&lt;P&gt;Mention a new sourcetype name and give it a try..&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2013 17:51:23 GMT</pubDate>
    <dc:creator>linu1988</dc:creator>
    <dc:date>2013-08-08T17:51:23Z</dc:date>
    <item>
      <title>Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28006#M177787</link>
      <description>&lt;P&gt;I'm having problems getting splunk to re-index data.  Here are the steps I've taken:&lt;/P&gt;

&lt;P&gt;Created a data input file from a shared folder on another computer&lt;BR /&gt;
indexed into test index&lt;BR /&gt;
checked the data, made sure everything was correct&lt;BR /&gt;
disabled the data input&lt;BR /&gt;
deleted data in the test index by using | delete&lt;BR /&gt;
in the CLI, stopped splunk&lt;BR /&gt;
ran&lt;BR /&gt;
splunk clean eventdata -index test&lt;BR /&gt;
splunk start&lt;/P&gt;

&lt;P&gt;changed the data input to send to main index&lt;BR /&gt;
started enabled data input&lt;/P&gt;

&lt;P&gt;I was expecting the data to be re-indexed, but this hasn't happened.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 19:57:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28006#M177787</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-08-07T19:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28007#M177788</link>
      <description>&lt;P&gt;I am not sure what happened here, but I do know one thing. If you do -&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk clean eventdata -index test&lt;BR /&gt;
splunk start&lt;/CODE&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;then you don't need to use &lt;CODE&gt;| delete&lt;/CODE&gt; first&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 07 Aug 2013 21:19:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28007#M177788</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-08-07T21:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28008#M177789</link>
      <description>&lt;P&gt;Good to know and makes sense.  I'll keep that in mind.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 21:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28008#M177789</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-08-07T21:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28009#M177790</link>
      <description>&lt;P&gt;The input you created remembers data files that have already been indexed regardless of whether or not the index still exists or still has the data.  You need to create a new input exactly as the one you have, but with a slightly different name and pointing to the right index, then poof your data will be re-indexed.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 21:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28009#M177790</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-07T21:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28010#M177791</link>
      <description>&lt;P&gt;You might find some help in this &lt;A href="http://splunk-base.splunk.com//answers/97996/searching-_fishbucket"&gt;answer&lt;/A&gt; (even though you wouldn't guess from the name). It shows how to eliminate a single file entry from the fishbucket. Since the fishbucket is where data files are "remembered," this should cause Splunk to forget that it once indexed this file.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 21:58:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28010#M177791</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-08-07T21:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28011#M177792</link>
      <description>&lt;P&gt;I had tried earlier to delete the input, then re-create it, however I used the same host name.  After reading your post, I deleted the input, then re-created it with a different host name.  The data isn't being re-indexed.  Do I need to create a new sourceType?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 22:16:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28011#M177792</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-08-07T22:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28012#M177793</link>
      <description>&lt;P&gt;I'd love to just delete the entry from the fishbucket.  However, how do I find out the file name to delete?  There is other valid data in the fishbucket that I don't want to get rid of.  Also, this data source is a directory with 1 file per entry.  I want to re-index the directory.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 22:18:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28012#M177793</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-08-07T22:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28013#M177794</link>
      <description>&lt;P&gt;Just to be clear, it is the inputName that is important. You need to give it a new inputName.  I don't think you need to change anything else.&lt;BR /&gt;
I can't help with the fishbucket thing cause I've not done that yet, and you are correct - there is other information in there that you don't want to delete.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 22:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28013#M177794</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-07T22:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28014#M177795</link>
      <description>&lt;P&gt;According to that post it is no longer possible to delete single files from the fishbucket.&lt;/P&gt;

&lt;P&gt;"Splunk no longer lets you look at the fishbucket index. You cannot manage the specific records. The format is not published and the files are kept in binary.  Sorry"&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 22:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28014#M177795</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-07T22:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28015#M177796</link>
      <description>&lt;P&gt;I'm not sure where the inputName is to be changed then.  I'm using the Data Input - Files &amp;amp; Directories method to pull data off a network shared folder.  Is the input name the path to the data?  So I would need to change the log location?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 17:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28015#M177796</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-08-08T17:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28016#M177797</link>
      <description>&lt;P&gt;clean the fishbucket&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 17:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28016#M177797</guid>
      <dc:creator>davecroto</dc:creator>
      <dc:date>2013-08-08T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28017#M177798</link>
      <description>&lt;P&gt;Now that you mention it, yes.  For a directory or file monitor the inputName is the path.&lt;BR /&gt;
I was thinking last night that you should use crc salt to reindex what is there, and then remove crc salt (because it can cause trouble down the road).&lt;BR /&gt;&lt;BR /&gt;
To use crcSalt you need to add the line to your input stanza:&lt;BR /&gt;
crcSalt=&lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;Here is what the documents say about using crcSalt=&lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;If set to the literal string &lt;SOURCE&gt; (including the angle brackets), the full directory path to the source file &lt;/SOURCE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Don't forget to delete the line and the original files after the original files are reindexed.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 17:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28017#M177798</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-08T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28018#M177799</link>
      <description>&lt;P&gt;Mention a new sourcetype name and give it a try..&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 17:51:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28018#M177799</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-08-08T17:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28019#M177800</link>
      <description>&lt;P&gt;I updated that post - because I was wrong! Gack!!  So you might want to look again...&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 23:54:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28019#M177800</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-08-08T23:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re-index directory data after indexing into temp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28020#M177801</link>
      <description>&lt;P&gt;Yes, but cleaning the fishbucket will reset the status of all inputs - meaning that Splunk will reindex &lt;EM&gt;everything&lt;/EM&gt; again, not just the one file or directory&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 17:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Re-index-directory-data-after-indexing-into-temp/m-p/28020#M177801</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-08-09T17:18:11Z</dc:date>
    </item>
  </channel>
</rss>

