<?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: Tricky Line break in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51022#M9787</link>
    <description>&lt;P&gt;Best is this, actually: ([\r\n]+)\d+.\d+\s&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2011 01:59:44 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2011-03-01T01:59:44Z</dc:date>
    <item>
      <title>Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51016#M9781</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;I have following text with no timestamps, but some numeric markers that I wanna use for a line break:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;21.2 This is some dummy text. 
21.3 is some dummy text.This is some dummy text.This is some dummy text. 21.4 This is some dummy text.This is some dummy text.This is some. 21.5 This is some dummy text.This is some dummy text.This is some dummy text.This. 
21.6 dummy text.This is some dummy text.This is some dummy text.This is some dummy text. 21.7 This is some dummy text.This is some dummy text.This is some dummy text.This is some dummy text.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You see that there is no clear newline or timestamp, so I wanna use the numbers, divided by a point, for line breaking.&lt;/P&gt;

&lt;P&gt;Unfortunately I can't find a way how to do that.&lt;/P&gt;

&lt;P&gt;Any hints or help is highly appreciated!&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;simuvid&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2011 22:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51016#M9781</guid>
      <dc:creator>simuvid</dc:creator>
      <dc:date>2011-02-28T22:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51017#M9782</link>
      <description>&lt;P&gt;Try this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = (?m)(\s*)\d+\.\d+\s+
DATETIME_CONFIG=current
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Feb 2011 22:23:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51017#M9782</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-02-28T22:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51018#M9783</link>
      <description>&lt;P&gt;Hi Siegfried,&lt;/P&gt;

&lt;P&gt;where is Roy? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I tried yours and also following:&lt;BR /&gt;
LINE_BREAKER = [0-9]{0,}.[0-9]{0,}&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 0&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;P&gt;Unfortunately are both not working?!&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:25:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51018#M9783</guid>
      <dc:creator>simuvid</dc:creator>
      <dc:date>2020-09-28T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51019#M9784</link>
      <description>&lt;P&gt;Of course I made a minor mistake:&lt;/P&gt;

&lt;P&gt;Leave the attribute: LINE_BREAKER_LOOKBEHIND! It is not needed here,&lt;BR /&gt;
but even then the extraction is not working.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:25:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51019#M9784</guid>
      <dc:creator>simuvid</dc:creator>
      <dc:date>2020-09-28T09:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51020#M9785</link>
      <description>&lt;P&gt;Hi ziegfried,&lt;/P&gt;

&lt;P&gt;thanks for your help.&lt;/P&gt;

&lt;P&gt;At least that one worked:&lt;/P&gt;

&lt;P&gt;LINE_BREAKER = (?m)([0-9]{0,}.[0-9]{0,})&lt;/P&gt;

&lt;P&gt;Have a great day!&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;simuvid&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 00:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51020#M9785</guid>
      <dc:creator>simuvid</dc:creator>
      <dc:date>2011-03-01T00:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51021#M9786</link>
      <description>&lt;P&gt;Do you want the line breaker be removed from the event ? I think &lt;/P&gt;

&lt;P&gt;LINE_BREAKER = (?m)([0-9]{0,}.[0-9]{0,})&lt;/P&gt;

&lt;P&gt;removes the match from the event. If you want to keep it, you need a look ahead or behind:&lt;/P&gt;

&lt;P&gt;LINE_BREAKER = (?m)\s(?u\d+.\d+\s)
SHOULD_LINEMERGE = false&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51021#M9786</guid>
      <dc:creator>wollinet</dc:creator>
      <dc:date>2011-03-01T01:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Line break</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51022#M9787</link>
      <description>&lt;P&gt;Best is this, actually: ([\r\n]+)\d+.\d+\s&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:59:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Tricky-Line-break/m-p/51022#M9787</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-01T01:59:44Z</dc:date>
    </item>
  </channel>
</rss>

