<?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 Generate hashes for buckets that were created before data integrity control was enabled in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534582#M4595</link>
    <description>&lt;P&gt;After enabling data integrity control for an index, I cannot find a way to generate hashes for existing buckets.&lt;/P&gt;&lt;P&gt;`./splunk generate-hash-files` returns `Error: Cannot generate hash files for the bucket with path=/bucket/path, Reason=Journal has no hashes.`&lt;/P&gt;&lt;P&gt;Rebuilding the buckets with:&lt;/P&gt;&lt;P&gt;`./splunk fsck repair` does not generate hashes for the old buckets.&lt;/P&gt;&lt;P&gt;Is this possible? Or are all buckets that were created before this option was enabled impossible to validate, even after the feature has been enabled?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 18:06:22 GMT</pubDate>
    <dc:creator>jniedrauer</dc:creator>
    <dc:date>2020-12-31T18:06:22Z</dc:date>
    <item>
      <title>Generate hashes for buckets that were created before data integrity control was enabled</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534582#M4595</link>
      <description>&lt;P&gt;After enabling data integrity control for an index, I cannot find a way to generate hashes for existing buckets.&lt;/P&gt;&lt;P&gt;`./splunk generate-hash-files` returns `Error: Cannot generate hash files for the bucket with path=/bucket/path, Reason=Journal has no hashes.`&lt;/P&gt;&lt;P&gt;Rebuilding the buckets with:&lt;/P&gt;&lt;P&gt;`./splunk fsck repair` does not generate hashes for the old buckets.&lt;/P&gt;&lt;P&gt;Is this possible? Or are all buckets that were created before this option was enabled impossible to validate, even after the feature has been enabled?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 18:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534582#M4595</guid>
      <dc:creator>jniedrauer</dc:creator>
      <dc:date>2020-12-31T18:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate hashes for buckets that were created before data integrity control was enabled</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534716#M4614</link>
      <description>&lt;P&gt;It's many years since I had to deal with the details of enableDataIntegrityControl, and the detail in the documentation misses some of the detail that I'm sure I learned years ago.&lt;/P&gt;&lt;P&gt;My memory is that when you enable data integrity control the hashes of the data are written with each slice in the data (this isn't mentioned in the documentation), and a copy of the hashes are stored in files in the raw data for the bucket (this is mentioned in the documentation).&lt;/P&gt;&lt;P&gt;When you run the check-integrity command the hashes from within the data are verified against the hash files. When you run the generate-hash-files command it will generate the hash files from the hashes stored in each slice. It won't create the hashes against each slice. That is only done when a slice is written.&lt;/P&gt;&lt;P&gt;As I say, it was many years since I had to deal with the detail of this, so things may have changed, or I may have misremembered, but that would explain why you don't get the results you're hoping for.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:01:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534716#M4614</guid>
      <dc:creator>hmallett</dc:creator>
      <dc:date>2021-01-04T16:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generate hashes for buckets that were created before data integrity control was enabled</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534739#M4615</link>
      <description>&lt;P&gt;Interesting. So to be clear, in your experience, there is no way to retroactively create hashes for a journal?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 20:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Generate-hashes-for-buckets-that-were-created-before-data/m-p/534739#M4615</guid>
      <dc:creator>jniedrauer</dc:creator>
      <dc:date>2021-01-04T20:57:12Z</dc:date>
    </item>
  </channel>
</rss>

