<?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: Why are some events being indexed with the wrong timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388339#M69560</link>
    <description>&lt;P&gt;Have you seen any &lt;CODE&gt;DateParserVerbose&lt;/CODE&gt; warnings in splunkd.log about this source/sourcetype?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 13:42:19 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-01-08T13:42:19Z</dc:date>
    <item>
      <title>Why are some events being indexed with the wrong timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388337#M69558</link>
      <description>&lt;P&gt;Hi! I have a big Splunk enterprise environment, but I'm experiencing a strange issue where some events are losing part of their timestamp. These are the timestamps for the events &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-01-08 07:05:32,776 StatisticMessage ,
2019-01-08 07:05:33,166 StatisticMessage , 
2019-01-08 07:05:33,401 StatisticMessage , 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6338i6881E47FF5D70E70/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
and this is the props.conf file that is deployed.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[NameOfSourceType]
MAX_TIMESTAMP_LOOKAHEAD = 60
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\n\r]+)\d{4}\-\d{2}\-\d{2}\s\d{2}\:\d{2}\:\d{2}\,\d{3}
TRUNCATE = 1999999
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But some events are getting part of their time scrambled as shown below.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6339i8184E326EC617C2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388337#M69558</guid>
      <dc:creator>alexanderadler</dc:creator>
      <dc:date>2019-01-08T08:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why are some events being indexed with the wrong timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388338#M69559</link>
      <description>&lt;P&gt;I assume you want to extract the date and time from the first 24 chars, so try the below:&lt;BR /&gt;
//limiting the lookahead, adding prefix and changing line breaker to be positive lookahead&lt;/P&gt;

&lt;P&gt;[NameOfSourceType]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 24&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
LINE_BREAKER = ([\n\r]+)(?=\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\,\d{3}\s)&lt;BR /&gt;
TRUNCATE = 999999&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:36:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388338#M69559</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2020-09-29T22:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why are some events being indexed with the wrong timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388339#M69560</link>
      <description>&lt;P&gt;Have you seen any &lt;CODE&gt;DateParserVerbose&lt;/CODE&gt; warnings in splunkd.log about this source/sourcetype?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:42:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388339#M69560</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-08T13:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why are some events being indexed with the wrong timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388340#M69561</link>
      <description>&lt;P&gt;Hi! Tried this but still the same outcome. &lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388340#M69561</guid>
      <dc:creator>alexanderadler</dc:creator>
      <dc:date>2019-01-11T09:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are some events being indexed with the wrong timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388341#M69562</link>
      <description>&lt;P&gt;send sample file with a few events [ pls remove/mask sensitive data]&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 14:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-some-events-being-indexed-with-the-wrong-timestamp/m-p/388341#M69562</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-01-11T14:03:39Z</dc:date>
    </item>
  </channel>
</rss>

