<?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 date parsing and linemerge in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/date-parsing-and-linemerge/m-p/25377#M4108</link>
    <description>&lt;P&gt;Hi folks.&lt;/P&gt;

&lt;P&gt;We have an entry in props to parse our custom datestamps (format is YYYYMMDD HHMMSS.nnn) as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  MAX_TIMESTAMP_LOOKAHEAD = 50
  NO_BINARY_CHECK = 1
  SHOULD_LINEMERGE = false
  TIME_FORMAT = %Y%m%d %H%M%S.%3N
  TIME_PREFIX = ^
  pulldown_type = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Quite often, our Splunk heavy forwarder reports that it cannot parse timestamps for these sourcetypes.  What I see in the source logfiles is that sometimes, our logs do contain multiple lines (in the form of Java errors)...  In that case, should we change the SHOULD_LINEMERGE from no to yes?  Or do we need a far more complex regex to indicate the start of a new line?&lt;/P&gt;

&lt;P&gt;Example (seriously munged and truncated, but just to give you an idea):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0130805 160141.074 some message about an error
com.stuff.api. Transactior timedout
        at com.stuff.exception
        at com.stuff.exception
        at com.stuff.exception
        at com.stuff
        at com.stuff
        at com.stuff
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Aug 2013 21:23:01 GMT</pubDate>
    <dc:creator>Sqig</dc:creator>
    <dc:date>2013-08-05T21:23:01Z</dc:date>
    <item>
      <title>date parsing and linemerge</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/date-parsing-and-linemerge/m-p/25377#M4108</link>
      <description>&lt;P&gt;Hi folks.&lt;/P&gt;

&lt;P&gt;We have an entry in props to parse our custom datestamps (format is YYYYMMDD HHMMSS.nnn) as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  MAX_TIMESTAMP_LOOKAHEAD = 50
  NO_BINARY_CHECK = 1
  SHOULD_LINEMERGE = false
  TIME_FORMAT = %Y%m%d %H%M%S.%3N
  TIME_PREFIX = ^
  pulldown_type = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Quite often, our Splunk heavy forwarder reports that it cannot parse timestamps for these sourcetypes.  What I see in the source logfiles is that sometimes, our logs do contain multiple lines (in the form of Java errors)...  In that case, should we change the SHOULD_LINEMERGE from no to yes?  Or do we need a far more complex regex to indicate the start of a new line?&lt;/P&gt;

&lt;P&gt;Example (seriously munged and truncated, but just to give you an idea):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0130805 160141.074 some message about an error
com.stuff.api. Transactior timedout
        at com.stuff.exception
        at com.stuff.exception
        at com.stuff.exception
        at com.stuff
        at com.stuff
        at com.stuff
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Aug 2013 21:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/date-parsing-and-linemerge/m-p/25377#M4108</guid>
      <dc:creator>Sqig</dc:creator>
      <dc:date>2013-08-05T21:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: date parsing and linemerge</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/date-parsing-and-linemerge/m-p/25378#M4109</link>
      <description>&lt;P&gt;If you don't want Splunk to get confused as to what timestamp it should set for the subsequent lines in multiline events, you need to set SHOULD_LINEMERGE to yes. The very fact that you're talking about that logs contain multiple lines supports this. Without SHOULD_LINEMERGE set to yes, Splunk will treat each line as an individual event (obviously) which you won't want unless you know what you're doing and why.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/date-parsing-and-linemerge/m-p/25378#M4109</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2020-09-28T14:30:19Z</dc:date>
    </item>
  </channel>
</rss>

