<?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 real-time data integrity check in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-real-time-data-integrity-check/m-p/747339#M22340</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310604"&gt;@esllorj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short - you cannot run an integrity check against buckets created before the integrity check was enabled, see the following community post:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/enable-integrity-control-on-splunk-6-3/m-p/266889#:~:text=Error%20description%20%22journal%20has%20no,Reason%3DJournal%20has%20no%20hashes" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise/enable-integrity-control-on-splunk-6-3/m-p/266889#:~:text=Error%20description%20%22journal%20has%20no,Reason%3DJournal%20has%20no%20hashes&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Credit to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/36761"&gt;@dbhagi_splunk&lt;/a&gt;&amp;nbsp;for their answer here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Data Integrity Control feature &amp;amp; the corresponding settings/commands only apply to the data that is indexed after turning on this feature. It won't go ahead &amp;amp; generate hashes (or even check integrity) for pre-existing data.

So in the case where "./splunk check-integrity -index [index_name]" returned the following error, That means this bucket is not created/indexed with Data Integrity control feature enabled. Either it was created before you enabled it (assuming you turned on this feature for your index now) or you haven't enabled this feature for the index=index_name at all.

Error description "journal has no hashes": This indicates that journal is not created with hashes enabled.
Integrity check error for bucket with path=/opt/splunk/var/lib/splunk/index_name/db/db_1429532061_1429531988_278, Reason=Journal has no hashes.

Same applies to "./splunk generate-hash-files -index [ index_name]"
You would be able to generate (means, extracting the hashes embedded in the journal) only for data integrity control enabled buckets. This won't go and compute/create hashes for normal buckets without this feature enabled. Say you enabled the feature &amp;amp; you created few buckets, but you lost hash files of a particular bucket (someone modified or deleted them on disk), then you can run this command so that it again extract hashes &amp;amp; writes them to hash files (l1hashes_id_guid.dat, l2hash_id_guid.dat). Hope i answered all your questions.&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 09:28:45 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-06-02T09:28:45Z</dc:date>
    <item>
      <title>Splunk real-time data integrity check</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-real-time-data-integrity-check/m-p/747338#M22339</link>
      <description>&lt;P&gt;Hi splunkers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My client wants to conduct a consistency check on all indexes that they collect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I added enableDataIntegrityControl=1 to every index setting&lt;BR /&gt;and&amp;nbsp;I created a script to run the command SPLUNK_CMD check-integrity -index "$INDEX" for all indexes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But that's where the problem comes from. The data we keep collecting in real time is that running a command during check-integrity fails.&amp;nbsp; ( ex linux_os logs, window_os logs)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;results are like this&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;result&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;server.conf/[sslConfig]/sslVerifyServerCert is false disabling certificate validation; must be set to "true" for increased security&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;disableSSLShutdown=0&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Setting search process to have long life span: enable_search_process_long_lifespan=1&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;certificateStatusValidationMethod is not set, defaulting to none.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Splunk is starting with EC-SSC disabled&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;CMIndexId: New indexName=linux_os inserted, mapping to id=1&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Operating on: idx=linux_os bucket='/opt/splunk/var/lib/splunk/linux_os/db/db_1737699472_1737699262_0'&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Integrity check error for bucket with path=/opt/splunk/var/lib/splunk/linux_os/db/db_1737699472_1737699262_0, Reason=Journal has no hashes.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Operating on: idx=_audit bucket='/opt/splunk/var/lib/splunk/linux_os/db/hot_v1_1'&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Total buckets checked=2, succeeded=1, failed=1&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Loaded latency_tracker_log_interval with value=30 from stanza=health_reporter&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Loaded aggregate_ingestion_latency_health with value=1 from stanza=health_reporter&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;aggregate_ingestion_latency_health with value=1 from stanza=health_reporter will enable the aggregation of ingestion latency health reporter.&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Loaded ingestion_latency_send_interval_max with value=86400 from stanza=health_reporter&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Loaded ingestion_latency_send_interval with value=30 from stanza=health_reporter&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to solve these problems?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:06:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-real-time-data-integrity-check/m-p/747338#M22339</guid>
      <dc:creator>esllorj</dc:creator>
      <dc:date>2025-06-02T09:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk real-time data integrity check</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-real-time-data-integrity-check/m-p/747339#M22340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310604"&gt;@esllorj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short - you cannot run an integrity check against buckets created before the integrity check was enabled, see the following community post:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/enable-integrity-control-on-splunk-6-3/m-p/266889#:~:text=Error%20description%20%22journal%20has%20no,Reason%3DJournal%20has%20no%20hashes" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise/enable-integrity-control-on-splunk-6-3/m-p/266889#:~:text=Error%20description%20%22journal%20has%20no,Reason%3DJournal%20has%20no%20hashes&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Credit to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/36761"&gt;@dbhagi_splunk&lt;/a&gt;&amp;nbsp;for their answer here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Data Integrity Control feature &amp;amp; the corresponding settings/commands only apply to the data that is indexed after turning on this feature. It won't go ahead &amp;amp; generate hashes (or even check integrity) for pre-existing data.

So in the case where "./splunk check-integrity -index [index_name]" returned the following error, That means this bucket is not created/indexed with Data Integrity control feature enabled. Either it was created before you enabled it (assuming you turned on this feature for your index now) or you haven't enabled this feature for the index=index_name at all.

Error description "journal has no hashes": This indicates that journal is not created with hashes enabled.
Integrity check error for bucket with path=/opt/splunk/var/lib/splunk/index_name/db/db_1429532061_1429531988_278, Reason=Journal has no hashes.

Same applies to "./splunk generate-hash-files -index [ index_name]"
You would be able to generate (means, extracting the hashes embedded in the journal) only for data integrity control enabled buckets. This won't go and compute/create hashes for normal buckets without this feature enabled. Say you enabled the feature &amp;amp; you created few buckets, but you lost hash files of a particular bucket (someone modified or deleted them on disk), then you can run this command so that it again extract hashes &amp;amp; writes them to hash files (l1hashes_id_guid.dat, l2hash_id_guid.dat). Hope i answered all your questions.&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-real-time-data-integrity-check/m-p/747339#M22340</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-06-02T09:28:45Z</dc:date>
    </item>
  </channel>
</rss>

