<?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 Multiline log event not being indexed correctly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-log-event-not-being-indexed-correctly/m-p/147349#M30007</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a log file being monitored which has many similiar events.  The events have the same fields more or less and the event is defined as such:&lt;/P&gt;

&lt;P&gt;2014-04-29 17:23:00,428 [[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO - logtype=DATA&lt;BR /&gt;
details=Userid=ptal222 AppName=DEFAULT_TIER2B AuthType=AUTH_T2B result=AUTHENTICATED&lt;BR /&gt;
transid=91f53cf1-2d7d-4b6b-a7a1-ab5545a343c6&lt;BR /&gt;
transtype=AUTH&lt;BR /&gt;
transdetail=AUTH_T2B&lt;BR /&gt;
appclientid=DEFAULT_TIER2B&lt;BR /&gt;
userid=rm_portal_2&lt;BR /&gt;
adminid=null&lt;BR /&gt;
lob=null&lt;BR /&gt;
jclass=web.interceptor.BaseInterceptor&lt;BR /&gt;
jmethod=afterCompletion&lt;BR /&gt;
jline=75&lt;BR /&gt;
epoch=1398817380428&lt;BR /&gt;
authtype=AUTH_T2B&lt;/P&gt;

&lt;P&gt;Splunk is dismissing everything in the event prior to the field&lt;BR /&gt;
epoch=1398817380428&lt;/P&gt;

&lt;P&gt;When I search Splunk, the event is displaying as:&lt;/P&gt;

&lt;P&gt;epoch=1398817380428&lt;BR /&gt;
authtype=AUTH_T2B&lt;/P&gt;

&lt;P&gt;Since each field is outputted as a new line, I assume splunk thinks the epoch=timestamp line is a new event.  Thus, indexes from that point.  I cannot figure out how to get the entire event indexed. I want Splunk to use the date timestamp at the beginning of the event (2014-04-29 17:23:00,428) to determine the start of a multi-line event.  &lt;/P&gt;

&lt;P&gt;I have tried to add the following to the props.conf file but no luck:&lt;/P&gt;

&lt;P&gt;[af_dev]&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
TIME_PREFIX=^(?=\d{4}-)&lt;/P&gt;

&lt;P&gt;Any thoughts/suggestions?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:30:22 GMT</pubDate>
    <dc:creator>tmurray3</dc:creator>
    <dc:date>2020-09-28T16:30:22Z</dc:date>
    <item>
      <title>Multiline log event not being indexed correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-log-event-not-being-indexed-correctly/m-p/147349#M30007</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a log file being monitored which has many similiar events.  The events have the same fields more or less and the event is defined as such:&lt;/P&gt;

&lt;P&gt;2014-04-29 17:23:00,428 [[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO - logtype=DATA&lt;BR /&gt;
details=Userid=ptal222 AppName=DEFAULT_TIER2B AuthType=AUTH_T2B result=AUTHENTICATED&lt;BR /&gt;
transid=91f53cf1-2d7d-4b6b-a7a1-ab5545a343c6&lt;BR /&gt;
transtype=AUTH&lt;BR /&gt;
transdetail=AUTH_T2B&lt;BR /&gt;
appclientid=DEFAULT_TIER2B&lt;BR /&gt;
userid=rm_portal_2&lt;BR /&gt;
adminid=null&lt;BR /&gt;
lob=null&lt;BR /&gt;
jclass=web.interceptor.BaseInterceptor&lt;BR /&gt;
jmethod=afterCompletion&lt;BR /&gt;
jline=75&lt;BR /&gt;
epoch=1398817380428&lt;BR /&gt;
authtype=AUTH_T2B&lt;/P&gt;

&lt;P&gt;Splunk is dismissing everything in the event prior to the field&lt;BR /&gt;
epoch=1398817380428&lt;/P&gt;

&lt;P&gt;When I search Splunk, the event is displaying as:&lt;/P&gt;

&lt;P&gt;epoch=1398817380428&lt;BR /&gt;
authtype=AUTH_T2B&lt;/P&gt;

&lt;P&gt;Since each field is outputted as a new line, I assume splunk thinks the epoch=timestamp line is a new event.  Thus, indexes from that point.  I cannot figure out how to get the entire event indexed. I want Splunk to use the date timestamp at the beginning of the event (2014-04-29 17:23:00,428) to determine the start of a multi-line event.  &lt;/P&gt;

&lt;P&gt;I have tried to add the following to the props.conf file but no luck:&lt;/P&gt;

&lt;P&gt;[af_dev]&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S,%3N&lt;BR /&gt;
TIME_PREFIX=^(?=\d{4}-)&lt;/P&gt;

&lt;P&gt;Any thoughts/suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:30:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-log-event-not-being-indexed-correctly/m-p/147349#M30007</guid>
      <dc:creator>tmurray3</dc:creator>
      <dc:date>2020-09-28T16:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline log event not being indexed correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiline-log-event-not-being-indexed-correctly/m-p/147350#M30008</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[af_dev]
BREAK_ONLY_BEFORE=\d{4}-\d{2}-\d{2}
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
TIME_FORMAT=%Y-%d-%m %H:%M:%S,%3Q
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Apr 2014 16:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiline-log-event-not-being-indexed-correctly/m-p/147350#M30008</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-04-30T16:03:10Z</dc:date>
    </item>
  </channel>
</rss>

