<?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: Searching _fishbucket in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26382#M177657</link>
    <description>&lt;P&gt;There is a tool to selectively forgot a single file from the fishbucket&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;./splunk cmd btprobe -d $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db --file $FILE --reset&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;see options for btprobe&lt;/P&gt;

&lt;P&gt;`&lt;/P&gt;

&lt;P&gt;There are 2 possible ways to invoke this tool:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; 1: btprobe [-h or --help] -d &amp;lt;btree directory&amp;gt; [-k &amp;lt;hex key OR ALL&amp;gt; | --file &amp;lt;filename&amp;gt;] [--salt &amp;lt;salt&amp;gt;] [--validate] [--reset] [--bytes &amp;lt;bytes&amp;gt;]
 Queries the specified BTree for the given key or file.

    -d           Directory that contains the btree index. (Required)

    -k           Hex crc key or ALL to get all the keys.
    --file       File to compute the crc from.
      (One of -k and --file must be specified.

    --validate   Validate the btree to look for errors.
    --salt       Salt the crc if --file param is specified.
    --reset      Reset the fishbucket for the given key or file in the btree.
    --bytes      Number of bytes to read when calculating CRC (default 256).

 2: btprobe [-h or --help] --compute-crc &amp;lt;filename&amp;gt; [--salt &amp;lt;salt&amp;gt;] [--bytes &amp;lt;bytes&amp;gt;]
 Computes a crc from the specified file (using the given salt if any).

 Examples:
 btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db  -k 0xe8d117ddba85e714 --validate
 btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db --file /var/log/inputfile --salt SOME_SALT
 btprobe --compute-crc /var/log/inputfile --salt SOME_SALT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;`&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2013 00:47:33 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2013-08-07T00:47:33Z</dc:date>
    <item>
      <title>Searching _fishbucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26379#M177654</link>
      <description>&lt;P&gt;I'm trying to figure out how to analyze and manage specific records in the _fishbucket index. &lt;/P&gt;

&lt;P&gt;I have big directories with many files splunk is monitoring, and our only method for reindexing right now is either cleaning the _fishbucket or adding crcSalts, both not very good for most use cases.&lt;/P&gt;

&lt;P&gt;I want to be able to handle specific records in the _fishbucket - looking at this old blog post (&lt;A href="http://blogs.splunk.com/2008/08/14/what-is-this-fishbucket-thing/"&gt;what-is-this-fishbucket-thing&lt;/A&gt;) - it starts off by saying &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; To see what’s there, try searching for “index=_thefishbucket”
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;This simply doesn't work. And I want to also be able to delete specific records.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;What's up with this? something changed since this blog post?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 14:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26379#M177654</guid>
      <dc:creator>pembleton</dc:creator>
      <dc:date>2013-08-06T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Searching _fishbucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26380#M177655</link>
      <description>&lt;P&gt;Yes, something changed since 2008! In fact, Andrea added a footnote to the end of the article in 2010: "Note that this old post only applies to 3.x versions"&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.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Thanks for the update. I guess I am a bit behind on the cool tools! Although it is still true that you can't just go editing or viewing the fishbucket!&lt;/P&gt;

&lt;P&gt;Here is a &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.3/Troubleshooting/CommandlinetoolsforusewithSupport"&gt;link&lt;/A&gt; to the relevant section in the Troubleshooting Manual.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 19:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26380#M177655</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-08-06T19:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Searching _fishbucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26381#M177656</link>
      <description>&lt;P&gt;Are you wanting to delete certain records so that Splunk will (re-)index the files?&lt;/P&gt;

&lt;P&gt;Note that you can issue &lt;CODE&gt;splunk add oneshot&lt;/CODE&gt; from the command line to prompt Splunk to index any file without regard for the fishbucket.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/MonitorfilesanddirectoriesusingtheCLI"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/Data/MonitorfilesanddirectoriesusingtheCLI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 19:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26381#M177656</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-08-06T19:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Searching _fishbucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26382#M177657</link>
      <description>&lt;P&gt;There is a tool to selectively forgot a single file from the fishbucket&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;./splunk cmd btprobe -d $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db --file $FILE --reset&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;see options for btprobe&lt;/P&gt;

&lt;P&gt;`&lt;/P&gt;

&lt;P&gt;There are 2 possible ways to invoke this tool:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; 1: btprobe [-h or --help] -d &amp;lt;btree directory&amp;gt; [-k &amp;lt;hex key OR ALL&amp;gt; | --file &amp;lt;filename&amp;gt;] [--salt &amp;lt;salt&amp;gt;] [--validate] [--reset] [--bytes &amp;lt;bytes&amp;gt;]
 Queries the specified BTree for the given key or file.

    -d           Directory that contains the btree index. (Required)

    -k           Hex crc key or ALL to get all the keys.
    --file       File to compute the crc from.
      (One of -k and --file must be specified.

    --validate   Validate the btree to look for errors.
    --salt       Salt the crc if --file param is specified.
    --reset      Reset the fishbucket for the given key or file in the btree.
    --bytes      Number of bytes to read when calculating CRC (default 256).

 2: btprobe [-h or --help] --compute-crc &amp;lt;filename&amp;gt; [--salt &amp;lt;salt&amp;gt;] [--bytes &amp;lt;bytes&amp;gt;]
 Computes a crc from the specified file (using the given salt if any).

 Examples:
 btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db  -k 0xe8d117ddba85e714 --validate
 btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db --file /var/log/inputfile --salt SOME_SALT
 btprobe --compute-crc /var/log/inputfile --salt SOME_SALT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;`&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 00:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-fishbucket/m-p/26382#M177657</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-08-07T00:47:33Z</dc:date>
    </item>
  </channel>
</rss>

