<?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 File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367935#M169800</link>
    <description>&lt;P&gt;I am getting the following error due to which, the log file is not getting indexed daily. &lt;/P&gt;

&lt;P&gt;Log file name is like: db_20180419.log, db_20180420.log...and so-on (Log rotation file)&lt;/P&gt;

&lt;P&gt;File will not be read, seekptr checksum did not match (file=C:.....\test_date.log).  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.  Consult the documentation or file a support case online at &lt;A href="http://www.splunk.com/page/submit_issue" target="_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt; for more info.&lt;/P&gt;

&lt;P&gt;So, my question is: do I need to set both "initCrcLen" and "crcSalt" parameters or I can just set "initCrcLen".&lt;BR /&gt;
In case, I need to set "crcSalt", how to set it for source=C:\logs\db_*.log&lt;BR /&gt;
Could you help me with an sample for the above source.&lt;BR /&gt;
regards, Santosh&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:17:50 GMT</pubDate>
    <dc:creator>santosh_hb</dc:creator>
    <dc:date>2020-09-29T19:17:50Z</dc:date>
    <item>
      <title>File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367935#M169800</link>
      <description>&lt;P&gt;I am getting the following error due to which, the log file is not getting indexed daily. &lt;/P&gt;

&lt;P&gt;Log file name is like: db_20180419.log, db_20180420.log...and so-on (Log rotation file)&lt;/P&gt;

&lt;P&gt;File will not be read, seekptr checksum did not match (file=C:.....\test_date.log).  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.  Consult the documentation or file a support case online at &lt;A href="http://www.splunk.com/page/submit_issue" target="_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt; for more info.&lt;/P&gt;

&lt;P&gt;So, my question is: do I need to set both "initCrcLen" and "crcSalt" parameters or I can just set "initCrcLen".&lt;BR /&gt;
In case, I need to set "crcSalt", how to set it for source=C:\logs\db_*.log&lt;BR /&gt;
Could you help me with an sample for the above source.&lt;BR /&gt;
regards, Santosh&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367935#M169800</guid>
      <dc:creator>santosh_hb</dc:creator>
      <dc:date>2020-09-29T19:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367936#M169801</link>
      <description>&lt;P&gt;You could either go with &lt;CODE&gt;crcSalt&lt;/CODE&gt; or &lt;CODE&gt;initCrcLen&lt;/CODE&gt;.&lt;BR /&gt;
As your filenames keep changing, the easiest would be a &lt;CODE&gt;inputs.conf&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:yourfilename]
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will just use the (always different) filename as a salt, so the checksum will differ for each new file - that should solve your problem.&lt;BR /&gt;
If you had the same issue, but the filename would always be the same, you would have to raise the &lt;CODE&gt;initCrcLen&lt;/CODE&gt; up to the point where the file is actually different.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 10:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367936#M169801</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-04-30T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367937#M169802</link>
      <description>&lt;P&gt;You might want to put that inputs.conf example as code, now the &lt;CODE&gt;&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; setting for the &lt;CODE&gt;crcSalt&lt;/CODE&gt; dissapears &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 11:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367937#M169802</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-30T11:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367938#M169803</link>
      <description>&lt;P&gt;Thanks, I missed that and then it ate my precious config. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 11:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367938#M169803</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-04-30T11:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367939#M169804</link>
      <description>&lt;P&gt;Thanks guys..Its working.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 08:59:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367939#M169804</guid>
      <dc:creator>santosh_hb</dc:creator>
      <dc:date>2018-05-10T08:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: File will not be read, seekptr checksum did not match.  Last time we saw this initcrc, filename was different.  You may wish to use larger initCrcLen for this sourcetype, or a CRC salt on this source.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367940#M169805</link>
      <description>&lt;P&gt;Then please upvote/accept the answer. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 23:27:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/File-will-not-be-read-seekptr-checksum-did-not-match-Last-time/m-p/367940#M169805</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-10T23:27:56Z</dc:date>
    </item>
  </channel>
</rss>

