<?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: Searchquery error: db bucket in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641172#M222135</link>
    <description>&lt;P&gt;Since the answer was written, I've learned more about bucket names.&amp;nbsp; T&lt;SPAN&gt;he "rb_" prefix means the bucket was a replicate&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;when it was first created&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; However, it may now be the primary bucket if the original primary was lost (buckets are not renamed in that case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The "db_" prefix is for primary buckets.&amp;nbsp; Use the fsck command to repair it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The "hot_" prefix is for hot buckets - those open for writing.&amp;nbsp; Restart the indexer to roll the bucket to warm ("db_*") then use fsck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As the error message says, the bucket &lt;STRONG&gt;may&lt;/STRONG&gt; be corrupt - or maybe there's something else wrong.&amp;nbsp; If the fsck command doesn't fix it then contact Splunk Support for assistance.&amp;nbsp; They may be able to determine the reason for the failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since we don't have access to the bucket file structure, there's no way to look inside to see what the problem is.&amp;nbsp; Splunk Support will have to do that for you.&amp;nbsp; It's unlikely, however, that they can tell you which forwarder sent the data (that's not recorded, by default) or when the corruption happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keep in mind that the raw data in a warm or cold bucket is never written to so it never changes.&amp;nbsp; However, buckets are collections of files and any of the supporting files in a bucket could change enough to prevent an indexer from reading data properly.&amp;nbsp; Likewise, a file system error might keep an indexer from reading a bucket.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 18:14:21 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-04-24T18:14:21Z</dc:date>
    <item>
      <title>Searchquery error: db bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641163#M222133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This is with respect to your solution posted in&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Searchquery-error/m-p/509508" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/Searchquery-error/m-p/509508&lt;/A&gt;. Since the thread is of 2020 and it is marked as resolved, I have created this new thread.&lt;/P&gt;&lt;P&gt;The issue is about error message observed in Splunk index=_internal: -&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Failed to read size=1 event(s) from rawdata in bucket&lt;BR /&gt;Rawdata may be corrupt, see search.log. Results may be incomplete!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You shared if bucket prefix is "rb_", it is a replicated bucket and thus, we should&amp;nbsp;&lt;SPAN&gt;stop the indexer, delete the bucket, then restart the indexer.&amp;nbsp; The cluster master will create a new replicate bucket.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need your inputs when prefix is: "db_", what does it stand for and what all actions to take for it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secondly, I also observed bucket prefix: - "hot_v1".&amp;nbsp; Thus, would want to know what it stands for and what all actions to take for it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thirdly, you stated the specific file &lt;STRONG&gt;may&lt;/STRONG&gt; be corrupt.&lt;BR /&gt;I need your inputs on below: -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. How do I find if the file became corrupt or if the reason is different?&lt;BR /&gt;&lt;BR /&gt;2. How do I find the details of the file if it got corrupt such as: -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.1 From which forwarder the data was sent?&lt;BR /&gt;2.2 At what timestamp did the file become corrupt?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 17:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641163#M222133</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2023-04-24T17:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Searchquery error: db bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641172#M222135</link>
      <description>&lt;P&gt;Since the answer was written, I've learned more about bucket names.&amp;nbsp; T&lt;SPAN&gt;he "rb_" prefix means the bucket was a replicate&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;when it was first created&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; However, it may now be the primary bucket if the original primary was lost (buckets are not renamed in that case).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The "db_" prefix is for primary buckets.&amp;nbsp; Use the fsck command to repair it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The "hot_" prefix is for hot buckets - those open for writing.&amp;nbsp; Restart the indexer to roll the bucket to warm ("db_*") then use fsck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As the error message says, the bucket &lt;STRONG&gt;may&lt;/STRONG&gt; be corrupt - or maybe there's something else wrong.&amp;nbsp; If the fsck command doesn't fix it then contact Splunk Support for assistance.&amp;nbsp; They may be able to determine the reason for the failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since we don't have access to the bucket file structure, there's no way to look inside to see what the problem is.&amp;nbsp; Splunk Support will have to do that for you.&amp;nbsp; It's unlikely, however, that they can tell you which forwarder sent the data (that's not recorded, by default) or when the corruption happened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keep in mind that the raw data in a warm or cold bucket is never written to so it never changes.&amp;nbsp; However, buckets are collections of files and any of the supporting files in a bucket could change enough to prevent an indexer from reading data properly.&amp;nbsp; Likewise, a file system error might keep an indexer from reading a bucket.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 18:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641172#M222135</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-24T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Searchquery error: db bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641176#M222137</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Indexer/HowSplunkstoresindexes" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Indexer/HowSplunkstoresindexes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I fetched that db is for Originating bucket and rb is for Replicated bucket.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 18:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641176#M222137</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2023-04-24T18:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Searchquery error: db bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641177#M222138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your prompt and detailed inputs for all the questions.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 18:31:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641177#M222138</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2023-04-24T18:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Searchquery error: db bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641181#M222141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for sharing your prompt and detailed inputs for all the questions shared in the content.&lt;/P&gt;&lt;P&gt;It would be very helpful, if you could also check out the below and help by sharing your details: -&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-this-Error-in-index-internal/td-p/641132" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/How-do-I-resolve-this-Error-in-index-internal/td-p/641132&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Monitoring-Splunk/How-to-fetch-details-of-corrupted-data/m-p/638721" target="_blank"&gt;https://community.splunk.com/t5/Monitoring-Splunk/How-to-fetch-details-of-corrupted-data/m-p/638721&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 19:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searchquery-error-db-bucket/m-p/641181#M222141</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2023-04-24T19:03:51Z</dc:date>
    </item>
  </channel>
</rss>

