<?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: splunk command to repair buckets in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372184#M109507</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;You can use the below command to rebuild the buckets, from the raw data file alone. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk rebuild  &lt;/P&gt;

&lt;P&gt;You can use the fsck command on the indexers to repair them as well. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk fsck repair --all-buckets-all-indexes&lt;/P&gt;

&lt;P&gt;his will rebuild hot/warm/cold in all indexes. &lt;/P&gt;

&lt;P&gt;If you require it in a single index, then you can use the below command. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk fsck repair --all-buckets-one-index --index-name=&lt;/P&gt;

&lt;P&gt;Below is the document which will help you to understand better. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Bucketissues"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Bucketissues&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 09:23:44 GMT</pubDate>
    <dc:creator>saramamurthy_sp</dc:creator>
    <dc:date>2019-08-30T09:23:44Z</dc:date>
    <item>
      <title>splunk command to repair buckets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372180#M109503</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;can i please know the splunk command to rebuild the buckets in a directory . I used splunk rebuild directory_name but not working.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 03:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372180#M109503</guid>
      <dc:creator>kteng2024</dc:creator>
      <dc:date>2017-03-24T03:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: splunk command to repair buckets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372181#M109504</link>
      <description>&lt;P&gt;The rebuild command can rebuild one data bucket at a time. DOes your directory_name is full/relative path to your data bucket that you want to rebuild?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 03:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372181#M109504</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-24T03:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: splunk command to repair buckets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372182#M109505</link>
      <description>&lt;P&gt;are you looking for the fsck command?&lt;BR /&gt;
&lt;A href="https://wiki.splunk.com/Community:PostCrashFsckRepair"&gt;https://wiki.splunk.com/Community:PostCrashFsckRepair&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:58:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372182#M109505</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-03-24T18:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: splunk command to repair buckets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372183#M109506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Splunk built-in "rebuild" command is for single bucket.  The indexer automatically deletes the old index and metadata files and rebuilds them. You don't need to delete any files yourself.&lt;/P&gt;

&lt;P&gt;You can use the below command to rebuild a single bucket &lt;/P&gt;

&lt;P&gt;splunk rebuild  (name of the bucket directory)&lt;/P&gt;

&lt;P&gt;Refer the below link for more details regarding the same.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Bucketissues"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/Bucketissues&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Meeran.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372183#M109506</guid>
      <dc:creator>mbadhusha_splun</dc:creator>
      <dc:date>2017-11-24T05:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunk command to repair buckets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372184#M109507</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;You can use the below command to rebuild the buckets, from the raw data file alone. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk rebuild  &lt;/P&gt;

&lt;P&gt;You can use the fsck command on the indexers to repair them as well. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk fsck repair --all-buckets-all-indexes&lt;/P&gt;

&lt;P&gt;his will rebuild hot/warm/cold in all indexes. &lt;/P&gt;

&lt;P&gt;If you require it in a single index, then you can use the below command. &lt;/P&gt;

&lt;P&gt;$plunk_home/bin/splunk fsck repair --all-buckets-one-index --index-name=&lt;/P&gt;

&lt;P&gt;Below is the document which will help you to understand better. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Bucketissues"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.1/Indexer/Bucketissues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 09:23:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-command-to-repair-buckets/m-p/372184#M109507</guid>
      <dc:creator>saramamurthy_sp</dc:creator>
      <dc:date>2019-08-30T09:23:44Z</dc:date>
    </item>
  </channel>
</rss>

