<?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: How to use line breaking for sample data? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379993#M95235</link>
    <description>&lt;P&gt;Hi @knalla,&lt;/P&gt;

&lt;P&gt;Your config works for me, but try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE=false
NO_BINARY_CHECK=true
CHARSET=UTF-8
LINE_BREAKER=(\r|\n)TBD 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can test it out in the gui using add data. &lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 06:17:39 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2019-05-21T06:17:39Z</dc:date>
    <item>
      <title>How to use line breaking for sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379992#M95234</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;How to use line breaking to break events before TBD, new event starts with TBD.&lt;/P&gt;

&lt;P&gt;sample data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ABC*11*231~
CFFGBPR*DD*1212*Ddf*12333~
TBD*1*3234454*12223355~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
TBD*1*wewe*2344~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;required output:&lt;BR /&gt;
event 1&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TBD*1*3234454*12223355~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;event 2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TBD*1*wewe*2344~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
DFR*ESDFR*5ewewesd112~
dsdd*DD*dd*Ddf*12333~
FTRRD*DFF*455*434*4321~
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried below stanza, it dint work. Any suggestions?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[  ]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE=TBD
CHARSET=UTF-8
disabled=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2019 04:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379992#M95234</guid>
      <dc:creator>knalla</dc:creator>
      <dc:date>2019-05-21T04:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use line breaking for sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379993#M95235</link>
      <description>&lt;P&gt;Hi @knalla,&lt;/P&gt;

&lt;P&gt;Your config works for me, but try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE=false
NO_BINARY_CHECK=true
CHARSET=UTF-8
LINE_BREAKER=(\r|\n)TBD 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can test it out in the gui using add data. &lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 06:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379993#M95235</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-21T06:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use line breaking for sample data?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379994#M95236</link>
      <description>&lt;P&gt;Its working, but its not breaking events if the event start with TBD.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 18:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-use-line-breaking-for-sample-data/m-p/379994#M95236</guid>
      <dc:creator>knalla</dc:creator>
      <dc:date>2019-06-10T18:21:54Z</dc:date>
    </item>
  </channel>
</rss>

