<?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: rebuilding metrics bucket in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/rebuilding-metrics-bucket/m-p/699766#M20298</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272347"&gt;@Jakfarh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;How did you identify the corruption?&lt;/P&gt;&lt;P&gt;The rebuild command regenerates tsidx and metadata files from a valid rawdata directory.&lt;/P&gt;&lt;P&gt;By default, metrics indexes have&amp;nbsp;metric.stubOutRawdataJournal = true, and the rawdata journal is truncated when the bucket rolls from hot to warm.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf" target="_self"&gt;documentation&lt;/A&gt; stresses this point:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Caution: Because setting this attribute to "true" eliminates the data in the rawdata files, those&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;files can no longer be used in bucket repair operations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After this occurs, the metrics index bucket is comprised of&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt; the tsidx and metadata files, the loss of which should be mitigated by an appropriate clustering configuration (which disables metric.stubOutRawdataJournal) or a backup solution.&lt;/P&gt;&lt;P&gt;If the tsidx or metadata files are corrupt, you'll need to either address the corruption at the file system or disk level or restore a copy from a backup.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Sep 2024 22:15:51 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2024-09-22T22:15:51Z</dc:date>
    <item>
      <title>rebuilding metrics bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/rebuilding-metrics-bucket/m-p/699499#M20285</link>
      <description>&lt;P&gt;Trying to fix a corruption issue with a _metrics bucket, using the "./splunk rebuild &amp;lt;path&amp;gt; command.&lt;BR /&gt;Doing this, i recieve the following WARN "Fsck - Rebuilding entire bucket is not supported for "metric" bucket that has a "stubbed-out" rawdata journal. Only bloomfilter will be build"&lt;BR /&gt;&lt;BR /&gt;How would i rebuild the metrics bucket to fix the error?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 06:35:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/rebuilding-metrics-bucket/m-p/699499#M20285</guid>
      <dc:creator>Jakfarh</dc:creator>
      <dc:date>2024-09-19T06:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: rebuilding metrics bucket</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/rebuilding-metrics-bucket/m-p/699766#M20298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272347"&gt;@Jakfarh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;How did you identify the corruption?&lt;/P&gt;&lt;P&gt;The rebuild command regenerates tsidx and metadata files from a valid rawdata directory.&lt;/P&gt;&lt;P&gt;By default, metrics indexes have&amp;nbsp;metric.stubOutRawdataJournal = true, and the rawdata journal is truncated when the bucket rolls from hot to warm.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf" target="_self"&gt;documentation&lt;/A&gt; stresses this point:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Caution: Because setting this attribute to "true" eliminates the data in the rawdata files, those&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;files can no longer be used in bucket repair operations.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;After this occurs, the metrics index bucket is comprised of&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt; the tsidx and metadata files, the loss of which should be mitigated by an appropriate clustering configuration (which disables metric.stubOutRawdataJournal) or a backup solution.&lt;/P&gt;&lt;P&gt;If the tsidx or metadata files are corrupt, you'll need to either address the corruption at the file system or disk level or restore a copy from a backup.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Sep 2024 22:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/rebuilding-metrics-bucket/m-p/699766#M20298</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-09-22T22:15:51Z</dc:date>
    </item>
  </channel>
</rss>

