<?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 Deleting an Index from the fish bucket in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29960#M5186</link>
    <description>&lt;P&gt;I want to find an index I created and remove it completely from Splunk, so I can re-use the same name, How can this be done? &lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2011 01:30:02 GMT</pubDate>
    <dc:creator>Dark_Ichigo</dc:creator>
    <dc:date>2011-12-07T01:30:02Z</dc:date>
    <item>
      <title>Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29960#M5186</link>
      <description>&lt;P&gt;I want to find an index I created and remove it completely from Splunk, so I can re-use the same name, How can this be done? &lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 01:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29960#M5186</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-12-07T01:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29961#M5187</link>
      <description>&lt;P&gt;To remove an index, stop the splunk service and do the following from the command line:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;./splunk clean eventdata -index &amp;lt;index_name&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Note: This will completely delete the data in the specified index and is irreversible!&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 03:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29961#M5187</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-12-07T03:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29962#M5188</link>
      <description>&lt;P&gt;Nope this isnt useful, I do need to mention that when clearing event data, I cannot re-index the same files to that index, unless I change the index name!&lt;/P&gt;

&lt;P&gt;What I want is to Completely remove the index from Splunk!.....basically from the Fishbucket in order to re-index my logs.&lt;/P&gt;

&lt;P&gt;So how can I do this?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 03:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29962#M5188</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-12-07T03:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29963#M5189</link>
      <description>&lt;P&gt;This will clean the ENTIRE fishbucket:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;./splunk clean eventdata _thefishbucket&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Not sure how to clean select or partial data from fishbucket.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 03:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29963#M5189</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-12-07T03:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29964#M5190</link>
      <description>&lt;P&gt;This is What I need, although I do not want to delete the whole fishbucket, would it be possible to use this following command to remove a particular index from the Fishbucket: &lt;/P&gt;

&lt;P&gt;./splunk clean eventdata _fishbucket -index &lt;INDEX_NAME&gt;&lt;/INDEX_NAME&gt;&lt;/P&gt;

&lt;P&gt;If there was, this would defiantly solve a great number of issues im having!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:11:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29964#M5190</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2020-09-28T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29965#M5191</link>
      <description>&lt;P&gt;If you want to reindex the same files again, you can take a look at the 'oneshot' command. Another way I could think of is to install a temporary forwarder to re-index those files before forwarding them out to the current instance. Since this temporary forwarder will have a new fishbucket, it wouldn't know the files have already been indexed before and you can achieve the re-indexing without clearing the existing fishbucket on your instance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29965#M5191</guid>
      <dc:creator>twkan</dc:creator>
      <dc:date>2011-12-07T15:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29966#M5192</link>
      <description>&lt;P&gt;Another way to force re-indexing of already-indexed files is to add a &lt;CODE&gt;crcSalt&lt;/CODE&gt; to the particular input in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;. Any file that was found by the input would then get a modified hash in the fishbucket and would be re-read.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///some/awesome/stuff]
sourcetype = best_to_have_one
blacklist = \.if_necessary$
crcSalt = readItAgain
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could run a search for &lt;CODE&gt;| metadata type=sources index=bad&lt;/CODE&gt; to pull a list of all the files you need to find, then add a &lt;CODE&gt;crcSalt&lt;/CODE&gt; to those input stanzas in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;This may help too, using btprobe: &lt;A href="http://splunk-base.splunk.com/answers/54070/btprobe-and-re-indexing-data/66208"&gt;http://splunk-base.splunk.com/answers/54070/btprobe-and-re-indexing-data/66208&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 14:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29966#M5192</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2013-01-09T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29967#M5193</link>
      <description>&lt;P&gt;This worked hot-damn!&lt;/P&gt;

&lt;P&gt;I had some syslog data that went into a wrong index. After fixing that problem, I used a command line search to get the raw records, and used the manager to create a one-time input for the file created from that. Did not index! Fishbucket! So I ran across this and created a batch input for the desired index (sinkhole type) and added the crcSalt = readItAgain and after splunk restarted the file was gone and the data was indexed where it ought to be. Excellent!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 21:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29967#M5193</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2013-01-24T21:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29968#M5194</link>
      <description>&lt;P&gt;There is an explanation of how to do a partial cleaning of t he fishbucket here: &lt;A href="http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder"&gt;http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:44:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/29968#M5194</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2014-03-27T15:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting an Index from the fish bucket</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/538553#M90247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15156"&gt;@_d_&lt;/a&gt;,&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;./&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;splunk clean eventdata _thefishbucket&lt;/STRONG&gt;&lt;/EM&gt; is wrong command it will delete all data from all indexes in Splunk instance. Please use &lt;EM&gt;&lt;STRONG&gt;./splunk clean eventdata -index&amp;nbsp; _thefishbucket&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp; to clean the fishbucket only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 05:34:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Deleting-an-Index-from-the-fish-bucket/m-p/538553#M90247</guid>
      <dc:creator>parth_panchal</dc:creator>
      <dc:date>2021-02-04T05:34:22Z</dc:date>
    </item>
  </channel>
</rss>

