<?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: indexing issue with IIS logs (File will not be read, seekptr checksum did not match) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302931#M57205</link>
    <description>&lt;P&gt;Seems like some of your logs are being identified as duplicates since they are failing in Cyclic Redundancy Check. Have you already applied &lt;CODE&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; for your input? &lt;BR /&gt;
If setting &lt;STRONG&gt;crcSalt&lt;/STRONG&gt; to &lt;CODE&gt;&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; does not work then may actually have to increase &lt;STRONG&gt;initCrcLength&lt;/STRONG&gt;. Refer to documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also check out the following answers which talk about adding a string to make files unique instead of complete source path through &lt;CODE&gt;&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt;.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/35210/crcsalt-issue.html"&gt;https://answers.splunk.com/answers/35210/crcsalt-issue.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/186232/how-to-configure-inputsconf-to-apply-crcsalt-for-o.html"&gt;https://answers.splunk.com/answers/186232/how-to-configure-inputsconf-to-apply-crcsalt-for-o.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 17:06:36 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-05-18T17:06:36Z</dc:date>
    <item>
      <title>indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302930#M57204</link>
      <description>&lt;P&gt;I'm supporting a system where we have deployed servers that are uploading their IIS logs to a central location.  The indexer is configured to monitor the central location where each deployed server has its own uniquely named folder structure.  The deployed servers are configured to upload their IIS logs every 12 hours.  The IIS logs are configured to roll every day, but because the servers are uploading the logs twice a day, that means each log should be updated at least once.  &lt;/P&gt;

&lt;P&gt;So far, we've not had any issues (that I'm aware of) with duplicate events.  However, some logs are simply not being indexed, and checking the _internal log today, I noticed a lot of these entries for the "missing" logs:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;File will not be read, seekptr checksum did not match (file=\FILESERVER\SHARE\DEPT\UNIQUE_SVR_NAME\_admin\iislogs\u_ex170518.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.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;And also some of these, which I assume just means the total log length was shorter than the default 256 byte initCrcLength value?&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;File will not be read, is too small to match seekptr checksum (file=\FILESERVER\SHARE\DEPT\UNIQUE_SVR_NAME\_admin\iislogs\u_ex170515.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.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The vast majority of these logs are being indexed just fine.  What need I do to cleaned up these outliers?  Just set the initCrcLength to something longer?  I don't want any duplication, but I do want to be sure all of the logs are being indexed.  I'm reading the documentation, but not really grasping how the CrcSalt and initCrcLength work to know exactly what to do with them or if they would actually solve this problem.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:08:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302930#M57204</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2020-09-29T14:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302931#M57205</link>
      <description>&lt;P&gt;Seems like some of your logs are being identified as duplicates since they are failing in Cyclic Redundancy Check. Have you already applied &lt;CODE&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; for your input? &lt;BR /&gt;
If setting &lt;STRONG&gt;crcSalt&lt;/STRONG&gt; to &lt;CODE&gt;&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; does not work then may actually have to increase &lt;STRONG&gt;initCrcLength&lt;/STRONG&gt;. Refer to documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also check out the following answers which talk about adding a string to make files unique instead of complete source path through &lt;CODE&gt;&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt;.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/35210/crcsalt-issue.html"&gt;https://answers.splunk.com/answers/35210/crcsalt-issue.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/186232/how-to-configure-inputsconf-to-apply-crcsalt-for-o.html"&gt;https://answers.splunk.com/answers/186232/how-to-configure-inputsconf-to-apply-crcsalt-for-o.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302931#M57205</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-05-18T17:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302932#M57206</link>
      <description>&lt;P&gt;You get this error when there are different files which are having same first 256 bytes (initCrcLength). One option would be to increase the initCrcLength of the file so that file for each day can have unique Crc Handler. &lt;BR /&gt;
Assuming that your file name contains the date and update are being done (Either the whole content is replaced or new stuffs are added to end of the file), you can use &lt;CODE&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; (exact string to be used), so that Crc Handler will be created based on file path and file for each day will have unique Crc Handler.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302932#M57206</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302933#M57207</link>
      <description>&lt;P&gt;So since my IIS logs have all of this stuff at the top:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2004-09-29 00:13:03
#Fields: time c-ip cs-method cs-uri-stem sc-status
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is that included in the initCrcLength calculation, or since my transform is configured to ignore anything beginning with #, does the length calculation start at the actual event that is indexed?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:17:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302933#M57207</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2017-05-18T17:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302934#M57208</link>
      <description>&lt;P&gt;That is added to the Crc Handler. Since the CRC is calculated at forwarder level and transform is applied at Indexer/heavy forwarder, you ignoring contents doesn't affect the CRC calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302934#M57208</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T18:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302935#M57209</link>
      <description>&lt;P&gt;These logs aren't being forwarded, so how does that change your statement if the files are being picked up directly monitored by the indexer?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 18:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302935#M57209</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2017-05-18T18:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302936#M57210</link>
      <description>&lt;P&gt;If I increase the initCrcLength setting, will Splunk automatically re-read the files it skipped or do I have to do something to get it to retry?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 20:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302936#M57210</guid>
      <dc:creator>DaClyde</dc:creator>
      <dc:date>2017-05-18T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302937#M57211</link>
      <description>&lt;P&gt;It'll still hold true as the order of CRC calculation and application of Transform is done one after another and by different component of Splunk engine. Any change you make, you would need to restart Splunk so that it can re-enumerate the list of files to be monitoring and CRC handlers.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 20:45:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302937#M57211</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T20:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: indexing issue with IIS logs (File will not be read, seekptr checksum did not match)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302938#M57212</link>
      <description>&lt;P&gt;Manually move the files to a separate location where it will not be read by Splunk. Once &lt;CODE&gt;crcSalt=&amp;lt;SOURCE&amp;gt;&lt;/CODE&gt; is in place copy the files over to the folder being monitored.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 13:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/indexing-issue-with-IIS-logs-File-will-not-be-read-seekptr/m-p/302938#M57212</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-05-19T13:24:59Z</dc:date>
    </item>
  </channel>
</rss>

