<?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 is &amp;quot;must_break_after&amp;quot; not working? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-must-break-after-quot-not-working/m-p/299944#M3857</link>
    <description>&lt;P&gt;It looks like there's a line break - why not use SHOULD_LINEMERGE = false instead? I&lt;/P&gt;</description>
    <pubDate>Sun, 01 Apr 2018 21:46:54 GMT</pubDate>
    <dc:creator>jluo_splunk</dc:creator>
    <dc:date>2018-04-01T21:46:54Z</dc:date>
    <item>
      <title>Why is "must_break_after" not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-must-break-after-quot-not-working/m-p/299943#M3856</link>
      <description>&lt;P&gt;I have some events and some of them are getting broken while some of them are not.&lt;BR /&gt;
I tried everything MUST_BREAK_AFTER and LINE_BREAKER.&lt;BR /&gt;
My event shd break after "batch_size: 15"&lt;BR /&gt;
I have 457 events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Single event = "apple Type:apple  size: report  _time: 2017-03-23 01:30:00 batch_delay: 15 
batch_size: 15 "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but some events are merged like below and giving only one event for 257 events together.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... 2 lines omitted ...
apple Type:apple  size: report  _time: 2017-03-23 01:30:00 batch_delay: 15 
batch_size: 15
apple Type:apple  size: report  _time: 2017-03-23 01:30:00 batch_delay: 15 
batch_size: 15
apple Type:apple  size: report  _time: 2017-03-23 01:30:00 batch_delay: 15 
batch_size: 15
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf I used:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
SHOULD_LINEMERGE = true
MUST_BREAK_AFTER = batch_size:\s+\d+ 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please help me.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-must-break-after-quot-not-working/m-p/299943#M3856</guid>
      <dc:creator>akhil36109</dc:creator>
      <dc:date>2020-09-29T18:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is "must_break_after" not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-must-break-after-quot-not-working/m-p/299944#M3857</link>
      <description>&lt;P&gt;It looks like there's a line break - why not use SHOULD_LINEMERGE = false instead? I&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 21:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-quot-must-break-after-quot-not-working/m-p/299944#M3857</guid>
      <dc:creator>jluo_splunk</dc:creator>
      <dc:date>2018-04-01T21:46:54Z</dc:date>
    </item>
  </channel>
</rss>

