<?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: Incorrect Time Parsing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98090#M20475</link>
    <description>&lt;P&gt;I recommend the &lt;/P&gt;

&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD = 30&lt;/P&gt;

&lt;P&gt;The timestamp lookahead is simple to set, and it makes Splunk more efficient, because it won't scan the whole event for the timestamp.  Once in a while, Splunk just doesn't seem to want to quit searching the event for more time info! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 10:01:51 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2020-09-28T10:01:51Z</dc:date>
    <item>
      <title>Incorrect Time Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98088#M20473</link>
      <description>&lt;P&gt;Greetings Splunkers &amp;amp; Splunkettes!&lt;/P&gt;

&lt;P&gt;I have the following log entry:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;124.180.34.147 2011-10-23 00:09:55 - /xxx_hrtv3mstream0_2011060809500030 0 6 1 200 {aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee} 5.2.43 en-AU WMPlayer/11.0.5721.5251 - netgem 5.2.43 NetgemOS 5.2.43 SD863x 0 0 497478 rtsp TCP - - - 376000 373109 47 0 0 0 0 0 0 0 0 0 100 192.148.158.3 - 189 - - 1060200800 - rtsp://xxx.xxx.xxx.com/xxx_hrtv3mstream0_2011060809500030 - - - - live_create - -
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For some reason, this entry, and ONLY this entry, has the following timestamp:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10/23/11 8:50:00.300 PM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is NOT the indexing time (because I just indexed it now on the 26th of October at 15:10 AEDST), and 8:50 (or any hour increment thereof due to timelines) is not mentioned anywhere in the entry (including where I redacted).&lt;/P&gt;

&lt;P&gt;My props.conf is nothing special:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mms_export_e_wms_90]
pulldown_type = true
KV_MODE = none
SHOULD_LINEMERGE = false
TZ = UTC
TRANSFORMS-comment = hash_comment
REPORT-fields = mms_export_e_wms_90_fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms does nothing but sinkhole comments and search-time field definitions.&lt;/P&gt;

&lt;P&gt;Can someone shed any light on this pretty please?&lt;/P&gt;

&lt;P&gt;&amp;lt;scratching-head&amp;gt;&lt;/P&gt;

&lt;P&gt;EDIT: Just thought I'd add in that I am crcSalt'ing the input, and this is after a flushing of the event indexes, so this isn't an artifact from a previous indexing (If that's even possible)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 04:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98088#M20473</guid>
      <dc:creator>rturk</dc:creator>
      <dc:date>2011-10-26T04:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Time Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98089#M20474</link>
      <description>&lt;P&gt;Hi, it may be possible that splunk tries to interpret the date from the "first" timestamp and the time from the "second" timestamp in a less than perfect way;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;124.180.34.147&lt;/CODE&gt; &lt;STRONG&gt;2011-10-23&lt;/STRONG&gt; &lt;CODE&gt;00:09:55 - /xxx_hrtv3mstream0_201106&lt;/CODE&gt;&lt;STRONG&gt;0809500030&lt;/STRONG&gt; &lt;CODE&gt;0 6 1 200 {&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You probably need to specify the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;, &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; and possibly the &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; (for that source/sourcetype) in &lt;CODE&gt;props.conf&lt;/CODE&gt; on your indexer.&lt;/P&gt;

&lt;P&gt;My guess is that your props.conf should look something like;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mms_export_e_wms_90]
TIME_FORMAT=%Y-%m-%d %H:%M:%S
TIME_PREFIX=^\d+\.\d+\.\d+\.\d+\s
MAX_TIMESTAMP_LOOKAHEAD=30
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 07:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98089#M20474</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2011-10-26T07:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Time Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98090#M20475</link>
      <description>&lt;P&gt;I recommend the &lt;/P&gt;

&lt;P&gt;MAX_TIMESTAMP_LOOKAHEAD = 30&lt;/P&gt;

&lt;P&gt;The timestamp lookahead is simple to set, and it makes Splunk more efficient, because it won't scan the whole event for the timestamp.  Once in a while, Splunk just doesn't seem to want to quit searching the event for more time info! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:01:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98090#M20475</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2020-09-28T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Time Parsing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98091#M20476</link>
      <description>&lt;P&gt;After much to-and-fro it turned out that I was editting the incorrect props.conf, not realising that the timestamp was set on the heavy forwarder as opposed ot the indexer (where I was editting the props.conf).&lt;/P&gt;

&lt;P&gt;Thanks all for you help regardless &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 01:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Incorrect-Time-Parsing/m-p/98091#M20476</guid>
      <dc:creator>rturk</dc:creator>
      <dc:date>2011-11-14T01:30:28Z</dc:date>
    </item>
  </channel>
</rss>

