<?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: ERROR TailReader - File will not be read, seekptr checksum did not match in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536836#M89985</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp; for answering the question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we put crcSalt=&amp;lt;SOURCE&amp;gt;, then the older files are getting re-indexed because the files are in same folder.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;/app/folderA/locationA/filename_yyyy-mm-dd.txt&lt;BR /&gt;/app/folderB/locationB/filename_yyyy-mm-dd.txt&lt;/P&gt;&lt;P&gt;So if we put crcsalt in any of the file, under the location all the files are getting re-indexed. If we put ignoreOlderthan=1d, still the yesterday file is getting re-indexed.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2021 14:28:18 GMT</pubDate>
    <dc:creator>impurush</dc:creator>
    <dc:date>2021-01-22T14:28:18Z</dc:date>
    <item>
      <title>ERROR TailReader - File will not be read, seekptr checksum did not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536730#M89974</link>
      <description>&lt;P&gt;I am getting the below error because of two files has same first two lines including timestamps in the different folder.&lt;/P&gt;&lt;P&gt;ERROR TailReader - File will not be read, seekptr checksum did not match (file=filename.2021-01-19.txt). 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;The monitoring stanza has filename.*.txt.&lt;/P&gt;&lt;P&gt;So if I increase the initcrc or crcSalt, then all the files under the folders will get re-indexed.&lt;/P&gt;&lt;P&gt;Along with crcSalt, I tried to use ignoreOlderThan but still, the old files are getting re-indexed.&lt;BR /&gt;Example: ignoreOlderThan=1d, means still yesterday files are getting re-indexed.&lt;/P&gt;&lt;P&gt;Any better solution to prevent this?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 18:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536730#M89974</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2021-01-21T18:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailReader - File will not be read, seekptr checksum did not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536787#M89977</link>
      <description>&lt;P&gt;Don't increase&amp;nbsp;&lt;STRONG&gt;initCrcLength&lt;/STRONG&gt;, if the files are in different folders you can set &lt;STRONG&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/STRONG&gt;&amp;nbsp;for which the&amp;nbsp;full directory path to the source file is added to the CRC. This ensures that each file being monitored has a unique CRC.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 05:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536787#M89977</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-01-22T05:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailReader - File will not be read, seekptr checksum did not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536836#M89985</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp; for answering the question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we put crcSalt=&amp;lt;SOURCE&amp;gt;, then the older files are getting re-indexed because the files are in same folder.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;/app/folderA/locationA/filename_yyyy-mm-dd.txt&lt;BR /&gt;/app/folderB/locationB/filename_yyyy-mm-dd.txt&lt;/P&gt;&lt;P&gt;So if we put crcsalt in any of the file, under the location all the files are getting re-indexed. If we put ignoreOlderthan=1d, still the yesterday file is getting re-indexed.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 14:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536836#M89985</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2021-01-22T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailReader - File will not be read, seekptr checksum did not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536912#M90000</link>
      <description>&lt;P&gt;Forwarder reads the file only if system_current_time - file_modification_time &amp;gt;&amp;nbsp;&lt;SPAN&gt;ignoreOlderthan. Check if yesterdays files are still under this window.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2021 06:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/536912#M90000</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-01-23T06:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailReader - File will not be read, seekptr checksum did not match</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/537062#M90020</link>
      <description>&lt;P&gt;I have done few changes to solve the issue.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IgnoreOlderthan=1d&lt;/LI&gt;&lt;LI&gt;blacklist=filename.&amp;lt;yesterday&amp;gt;.txt (Because all the older files are in the same folder structure)&lt;/LI&gt;&lt;LI&gt;Restarted the forwarder exactly at 12o clock&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Even though few lines of data got re-indexed, however, it is around 10 to 20 lines only which were acceptable.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 14:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ERROR-TailReader-File-will-not-be-read-seekptr-checksum-did-not/m-p/537062#M90020</guid>
      <dc:creator>impurush</dc:creator>
      <dc:date>2021-01-25T14:30:42Z</dc:date>
    </item>
  </channel>
</rss>

