<?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: MUST_BREAK_AFTER seems ignored in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302166#M92932</link>
    <description>&lt;P&gt;This doesn't really fix my issue. I've got any number of different key-value pairs before the last line. They can be in any order and there isn't any known initial entry. The only known line is the last one.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 23:48:32 GMT</pubDate>
    <dc:creator>viraptor</dc:creator>
    <dc:date>2017-05-18T23:48:32Z</dc:date>
    <item>
      <title>MUST_BREAK_AFTER seems ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302164#M92930</link>
      <description>&lt;P&gt;I've got the following in the log file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[80c729cb-d0fd-48a1-bdc8-f46219bce681] signed_in_user=abcdef
[80c729cb-d0fd-48a1-bdc8-f46219bce681] session_id=abcdef
[80c729cb-d0fd-48a1-bdc8-f46219bce681] method="GET" path="/cart" format="html"....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Only the last line format is known. The initial lines can contain any format. Otherwise, they will all start with the same uuid.&lt;/P&gt;

&lt;P&gt;And the following settings for props:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[rails_lograge]
BREAK_ONLY_BEFORE =
BREAK_ONLY_BEFORE_DATE = false
KV_MODE = auto_escaped
MAX_TIMESTAMP_LOOKAHEAD = 250
MUST_BREAK_AFTER = \[[-0-9a-f]*\] method="[A-Z].*
MUST_NOT_BREAK_AFTER =
MUST_NOT_BREAK_BEFORE =
SHOULD_LINEMERGE = true
TIME_PREFIX = time="
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The log uses the correct sourcetype, however I cannot get the line merging to work as expected. Each line is a separate entry in the search output and it looks like the &lt;CODE&gt;SHOULD_LINEMERGE&lt;/CODE&gt; is just ignored, along with &lt;CODE&gt;MUST_BREAK_AFTER&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;What can I do to make these lines a single event?&lt;/P&gt;

&lt;P&gt;(I'm using Splunk 6.1)&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 07:14:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302164#M92930</guid>
      <dc:creator>viraptor</dc:creator>
      <dc:date>2017-05-18T07:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: MUST_BREAK_AFTER seems ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302165#M92931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I've never used "MUST_BREAK_AFTER" before, you can use BREAK_ONLY_BEFORE instead, for the sample logs you have provided, the following conf. in props.conf is working fine:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [rails_lograge]
 BREAK_ONLY_BEFORE = \[[-0-9a-f]*\] signed.*
 BREAK_ONLY_BEFORE_DATE = false
 KV_MODE = auto_escaped
 MAX_TIMESTAMP_LOOKAHEAD = 250
 SHOULD_LINEMERGE = true
 TIME_PREFIX = time="
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302165#M92931</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2020-09-29T14:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: MUST_BREAK_AFTER seems ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302166#M92932</link>
      <description>&lt;P&gt;This doesn't really fix my issue. I've got any number of different key-value pairs before the last line. They can be in any order and there isn't any known initial entry. The only known line is the last one.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 23:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302166#M92932</guid>
      <dc:creator>viraptor</dc:creator>
      <dc:date>2017-05-18T23:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: MUST_BREAK_AFTER seems ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302167#M92933</link>
      <description>&lt;P&gt;I gave a try again with your configuration in the question and it worked fine on version 6.5.3 &lt;/P&gt;

&lt;P&gt;I see that you are using version 6.1 this it could be the reason, and also it is not working on 6.2 as per the first test I did.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 07:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/MUST-BREAK-AFTER-seems-ignored/m-p/302167#M92933</guid>
      <dc:creator>aakwah</dc:creator>
      <dc:date>2017-05-19T07:39:13Z</dc:date>
    </item>
  </channel>
</rss>

