<?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: Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444050#M125945</link>
    <description>&lt;P&gt;Thanks. I guess my question is could I put the regex in the line_break and not even need anything in the transforms. But, I'm going to use TRANSFORM-### to link to the transforms to ensure our data gets parsed at index time instead of search time. Thanks for letting me ponder.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2018 21:20:07 GMT</pubDate>
    <dc:creator>dkrichards16</dc:creator>
    <dc:date>2018-09-05T21:20:07Z</dc:date>
    <item>
      <title>Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444046#M125941</link>
      <description>&lt;P&gt;Hi, I'm doing some research for our new architecture and am currently doing some house keeping on our props and transforms.&lt;/P&gt;

&lt;P&gt;If we have a regex for a sourcetype, is it faster to put the regex in the transforms or in the props and use line_breaker?  Traditionally, we just set should_linemerge to false in the props and then put the regex in the transforms and link it via report in the props. However, I just read something that said doing regular expressions in line_breaker causes a performance increase.  &lt;/P&gt;

&lt;P&gt;Could someone provide a clear explanation on this for me?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444046#M125941</guid>
      <dc:creator>dkrichards16</dc:creator>
      <dc:date>2020-09-29T21:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444047#M125942</link>
      <description>&lt;P&gt;Where did you read about regex in LINE_BREAKER causing a performance increase?&lt;BR /&gt;
FWIW, LINE_BREAKER defaults to the regex &lt;CODE&gt;([\r\n]+)&lt;/CODE&gt; so performance shouldn't be affected by regex.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444047#M125942</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-29T21:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444048#M125943</link>
      <description>&lt;P&gt;NOTE: You get a significant boost to processing speed when you use&lt;BR /&gt;
LINE_BREAKER to delimit multi-line events (as opposed to using&lt;BR /&gt;
SHOULD_LINEMERGE to reassemble individual lines into multi-line events).&lt;BR /&gt;
* When using LINE_BREAKER to delimit events, SHOULD_LINEMERGE should be set&lt;BR /&gt;
to false, to ensure no further combination of delimited events occurs.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444048#M125943</guid>
      <dc:creator>dkrichards16</dc:creator>
      <dc:date>2020-09-29T21:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444049#M125944</link>
      <description>&lt;P&gt;Using &lt;CODE&gt;LINE_BREAKER=&lt;/CODE&gt; and &lt;CODE&gt;SHOULD_LINEMERGE=false&lt;/CODE&gt; will always be WAAAAAAAY faster than using &lt;CODE&gt;SHOULD_LINEMERGE=true&lt;/CODE&gt;.  Obviously the better the &lt;CODE&gt;RegEx&lt;/CODE&gt; in your &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;, the more efficient event processing will be so always spend extra time optimizing your &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 21:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444049#M125944</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-09-05T21:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Which is faster: SHOULD_LINEMERGE vs LINE_BREAKER</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444050#M125945</link>
      <description>&lt;P&gt;Thanks. I guess my question is could I put the regex in the line_break and not even need anything in the transforms. But, I'm going to use TRANSFORM-### to link to the transforms to ensure our data gets parsed at index time instead of search time. Thanks for letting me ponder.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 21:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-faster-SHOULD-LINEMERGE-vs-LINE-BREAKER/m-p/444050#M125945</guid>
      <dc:creator>dkrichards16</dc:creator>
      <dc:date>2018-09-05T21:20:07Z</dc:date>
    </item>
  </channel>
</rss>

