<?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: Log files not indexing. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409184#M72571</link>
    <description>&lt;P&gt;Can you provide an example of the events that are not getting indexed, especially the timestamps?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 01:15:44 GMT</pubDate>
    <dc:creator>frankwayne</dc:creator>
    <dc:date>2018-06-26T01:15:44Z</dc:date>
    <item>
      <title>Log files not indexing.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409183#M72570</link>
      <description>&lt;P&gt;When I configured log file monitoring it worked only on that day till 11:59PM and then no events are getting indexed. Please recommend.&lt;/P&gt;

&lt;P&gt;In splunkd.log have been getting the message.&lt;/P&gt;

&lt;P&gt;06-25-2018 17:12:21.197 -0400 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/amz/xyz/logs/sap/prod1/cbc/xyz_3.0.log-2018.05.11.gz'.&lt;BR /&gt;
06-25-2018 17:12:31.201 -0400 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/amz/xyz/logs/sap/prod1/cbc/xyz_3.0.log-2018.05.11.gz'.&lt;/P&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///opt/amz/xyz/logs/sap/prod1/cbc/xyz_3.0.log-*]&lt;BR /&gt;
whitelist = OrderFulfillment_3.0.log-\d{4}.\d{2}.\d{2}&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = main&lt;BR /&gt;
sourcetype = sap&lt;BR /&gt;
initCrcLength = 256&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409183#M72570</guid>
      <dc:creator>sathiyasun</dc:creator>
      <dc:date>2020-09-29T20:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Log files not indexing.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409184#M72571</link>
      <description>&lt;P&gt;Can you provide an example of the events that are not getting indexed, especially the timestamps?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 01:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409184#M72571</guid>
      <dc:creator>frankwayne</dc:creator>
      <dc:date>2018-06-26T01:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Log files not indexing.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409185#M72572</link>
      <description>&lt;P&gt;&lt;CODE&gt;... worked only on that day til 11:59pm ...&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;sounds like this is related to a log rotate happening then. Might be worth reading this first &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Howlogfilerotationishandled"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Howlogfilerotationishandled&lt;/A&gt; and afterwards this answer &lt;A href="https://answers.splunk.com/answers/185453/why-copytruncate-logrotate-does-not-play-well-with.html"&gt;https://answers.splunk.com/answers/185453/why-copytruncate-logrotate-does-not-play-well-with.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 02:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409185#M72572</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-06-26T02:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log files not indexing.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409186#M72573</link>
      <description>&lt;P&gt;Hi Satya,&lt;BR /&gt;
This may be because Splunk was not able to read the correct timestamp in the file, sometimes it's thinking them as dd/mm/yyyy and sometimes as mm/dd/yyyy, please go through the doc below.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/Data/Configuretimestamprecognition#Enhanced_strptime.28.29_support"&gt;https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/Data/Configuretimestamprecognition#Enhanced_strptime.28.29_support&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 06:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-files-not-indexing/m-p/409186#M72573</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2018-06-26T06:46:42Z</dc:date>
    </item>
  </channel>
</rss>

