<?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: Line Breaking: Regex not recognized, not breaking using my defined regex in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130867#M26912</link>
    <description>&lt;P&gt;im sorry for that @jeffland. actually the breakpoint should be only before&lt;BR /&gt;
 &lt;CODE&gt;\w+(any word)|.....|\w+(any word also)\s+ -----------...------------&lt;/CODE&gt;&lt;BR /&gt;
so eveytime splunk sees this &lt;CODE&gt;\w+|...|\w+\s+ -----------...------------&lt;/CODE&gt; it will break the events. i hope i make it more clearer now. please do help me.. i need this to be done &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2015 07:44:44 GMT</pubDate>
    <dc:creator>shariinPH</dc:creator>
    <dc:date>2015-04-08T07:44:44Z</dc:date>
    <item>
      <title>Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130861#M26906</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have here log sample which i need to break&lt;BR /&gt;
I already tried LINE_BREAKER and BREAK_ONLY_BEFORE&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER=\w+\d+\|\w+_\w+_\w+\s+\d+/\d+/\d+\|\d+\|\d+\|\d+\|\d+\|\w+\s+-------------------------------------------------------------------------------- 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;AND&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE\w+\d+\|\w+_\w+_\w+\s+\d+/\d+/\d+\|\d+\|\d+\|\d+\|\d+\|\w+\s+--------------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My event should break before (for example)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SMSMSMSM|REALITY0|20150325|060128|20150325|061116|Completed

--------------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the regex is not working.&lt;BR /&gt;
refer to the attachement for mysamplelog ..&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130861#M26906</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2020-09-28T19:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130862#M26907</link>
      <description>&lt;P&gt;I haven't fully understood where in that file you want linebreaks. Exactly before the date inside a line? On the many ---? You should try your regular expressions at &lt;A href="https://regex101.com/"&gt;https://regex101.com/&lt;/A&gt;, they have a nice visualization. Your code for example has unescaped delimiters.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 06:33:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130862#M26907</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-08T06:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130863#M26908</link>
      <description>&lt;P&gt;hi @jeffland here's a sample&lt;BR /&gt;
    SMSMSMSM|REALITY0|20150325|061528|20150325|062347|Completed&lt;BR /&gt;
    --------------------------------------------------------------------------------&lt;BR /&gt;
    ABCDEFG|S|03000036|&lt;BR /&gt;
    ABCDEFG|S|03000040|&lt;BR /&gt;
    ABCDEFG|S|03000073|&lt;BR /&gt;
    ABCDEFG|S|03000076|&lt;BR /&gt;
    ABCDEFG|S|03000080|&lt;BR /&gt;
    ABCDEFG|S|03000081|&lt;BR /&gt;
    ABCDEFG|S|03000091|&lt;BR /&gt;
    ABCDEFG|S|03000092|&lt;BR /&gt;
    ABCDEFG|S|03000093|&lt;BR /&gt;
    ABCDEFG|S|03000095|&lt;BR /&gt;
    ABCDEFG|S|03000097|&lt;BR /&gt;
    ABCDEFG|S|03000103|&lt;BR /&gt;
    ABCDEFG|S|03000104|&lt;BR /&gt;
    ABCDEFG|S|03000146|&lt;BR /&gt;
    ABCDEFG|S|03000160|&lt;BR /&gt;
    ABCDEFG|S|03000176|&lt;BR /&gt;
    ABLESGR|P|01|&lt;BR /&gt;
    ANLAGE|S||&lt;BR /&gt;
    BEGABL|S|03/01/2015|03/29/2015&lt;BR /&gt;
    COUNTREQ|P|        0|&lt;BR /&gt;
    EXTNR|P||&lt;BR /&gt;
    GEPLAART|P|01|&lt;BR /&gt;
    GPLARTTS|P||&lt;BR /&gt;
    IGNPREP|P|X|&lt;BR /&gt;
    KARPRFG|P|X|&lt;BR /&gt;
    MASSAKT|P||&lt;BR /&gt;
    SMSMSMSM|REALITY0|20150325|061628|20150325|062401|Completed&lt;BR /&gt;
    --------------------------------------------------------------------------------&lt;BR /&gt;
    ABCDEFG|S|03000211|&lt;BR /&gt;
    ABCDEFG|S|03000212|&lt;BR /&gt;
    ABCDEFG|S|03000215|&lt;BR /&gt;
    ABCDEFG|S|03000219|&lt;BR /&gt;
    ABCDEFG|S|03000220|&lt;BR /&gt;
    ABCDEFG|S|03000245|&lt;BR /&gt;
    ABCDEFG|S|03000256|&lt;BR /&gt;
    ABCDEFG|S|03000258|&lt;BR /&gt;
    ABCDEFG|S|03000283|&lt;BR /&gt;
    ABCDEFG|S|03000325|&lt;BR /&gt;
    ABCDEFG|S|03000360|&lt;BR /&gt;
    ABCDEFG|S|03000362|&lt;BR /&gt;
    ABCDEFG|S|03000370|&lt;BR /&gt;
    ABCDEFG|S|03000371|&lt;BR /&gt;
    ABCDEFG|S|03000600|&lt;BR /&gt;
    ABCDEFG|S|03000620|&lt;BR /&gt;
    ABLESGR|P|01|&lt;BR /&gt;
    ANLAGE|S||&lt;BR /&gt;
    BEGABL|S|03/01/2015|03/29/2015&lt;BR /&gt;
    COUNTREQ|P|        0|&lt;BR /&gt;
    EXTNR|P||&lt;BR /&gt;
    GEPLAART|P|01|&lt;BR /&gt;
    GPLARTTS|P||&lt;BR /&gt;
    IGNPREP|P|X|&lt;BR /&gt;
    KARPRFG|P|X|&lt;BR /&gt;
    MASSAKT|P||&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130863#M26908</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-08T07:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130864#M26909</link>
      <description>&lt;P&gt;and I want my event to break as like this&lt;/P&gt;

&lt;H2&gt;SMSMSMSM|REALITY0|20150325|061628|20150325|062401|Completed&lt;/H2&gt;

&lt;P&gt;ABCDEFG|S|03000211|&lt;BR /&gt;
ABCDEFG|S|03000212|&lt;BR /&gt;
ABCDEFG|S|03000215|&lt;BR /&gt;
ABCDEFG|S|03000219|&lt;BR /&gt;
ABCDEFG|S|03000220|&lt;BR /&gt;
ABCDEFG|S|03000245|&lt;BR /&gt;
ABCDEFG|S|03000256|&lt;BR /&gt;
ABCDEFG|S|03000258|&lt;BR /&gt;
ABCDEFG|S|03000283|&lt;BR /&gt;
ABCDEFG|S|03000325|&lt;BR /&gt;
ABCDEFG|S|03000360|&lt;BR /&gt;
ABCDEFG|S|03000362|&lt;BR /&gt;
ABCDEFG|S|03000370|&lt;BR /&gt;
ABCDEFG|S|03000371|&lt;BR /&gt;
ABCDEFG|S|03000600|&lt;BR /&gt;
ABCDEFG|S|03000620|&lt;BR /&gt;
ABLESGR|P|01|&lt;BR /&gt;
ANLAGE|S||&lt;BR /&gt;
BEGABL|S|03/01/2015|03/29/2015&lt;BR /&gt;
COUNTREQ|P|        0|&lt;BR /&gt;
EXTNR|P||&lt;BR /&gt;
GEPLAART|P|01|&lt;BR /&gt;
GPLARTTS|P||&lt;BR /&gt;
IGNPREP|P|X|&lt;BR /&gt;
KARPRFG|P|X|&lt;BR /&gt;
MASSAKT|P||&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130864#M26909</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-08T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130865#M26910</link>
      <description>&lt;P&gt;@jeffland &lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130865#M26910</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-08T07:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130866#M26911</link>
      <description>&lt;P&gt;I'm sorry, that didn't make it much clearer. We need to find something that identifies a breakpoint. Is it only on lines like &lt;CODE&gt;SMSMSMSM|...|Completed&lt;BR /&gt;
-----...---&lt;/CODE&gt;? Or is it also on &lt;CODE&gt;EMEM1|...|Completed&lt;BR /&gt;
-----...---&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130866#M26911</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-08T07:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130867#M26912</link>
      <description>&lt;P&gt;im sorry for that @jeffland. actually the breakpoint should be only before&lt;BR /&gt;
 &lt;CODE&gt;\w+(any word)|.....|\w+(any word also)\s+ -----------...------------&lt;/CODE&gt;&lt;BR /&gt;
so eveytime splunk sees this &lt;CODE&gt;\w+|...|\w+\s+ -----------...------------&lt;/CODE&gt; it will break the events. i hope i make it more clearer now. please do help me.. i need this to be done &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130867#M26912</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-08T07:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130868#M26913</link>
      <description>&lt;P&gt;@jeffland do you want to see the structure of the logfile so that you may understand it more?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130868#M26913</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-08T07:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130869#M26914</link>
      <description>&lt;P&gt;I see the logfile attached to your question. Posting an answer as I hope I got what you want.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 08:15:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130869#M26914</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-08T08:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130870#M26915</link>
      <description>&lt;P&gt;Before you can linebreak something, you need to know exactly where and when you want a linebreak. If the first thing on a new event is not consistently the same thing, you need to work out a way to still identify those elements reliably. I'm assuming that there is an infinite number of possible "words" at the beginning of a new event, so the only thing we can do is rely on the pattern that happens before the 80 - characters (given that they are always there in that number). Here is my go at that, see if it does what you want at &lt;A href="https://regex101.com/"&gt;https://regex101.com/&lt;/A&gt; (you can paste the regex and your log there and see it live in action, probably better than trying it out with you props.conf right away)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;([\r\n]+)\w+\|.*\|\d*\|\d*\|\d*\|\d*\|\w+\n\-{80}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What this does is basically look for a linebreak followed by a word, then optionally anything between some pipes, ended by a word, a newline and 80 - characters. What helped me a lot was this blog post: &lt;A href="http://blogs.splunk.com/2014/04/23/its-that-time-again/"&gt;http://blogs.splunk.com/2014/04/23/its-that-time-again/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this is in the right direction. I do not know how the long part of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PA_COMP|P|MWSI|
PA_CYCLE|P|201503|
PA_LAUFI|P|CV0322|
PA_PORTN|P|08_BG22|
PA_STATR|P||
SO_IDID|S|127137382|
SO_IDID|S|127137384|
SO_IDID|S|127137386|
... 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;at the beginning is supposed to be indexed, right now it belongs to the event above it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 08:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130870#M26915</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-08T08:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130871#M26916</link>
      <description>&lt;P&gt;hi @jeffland will check on this. tell you what will happen. Thanks &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 06:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130871#M26916</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-10T06:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130872#M26917</link>
      <description>&lt;P&gt;Hi @jeffland it still not working. have you tried to indexed the log file i provided?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 07:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130872#M26917</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-10T07:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130873#M26918</link>
      <description>&lt;P&gt;Yeah, it works fine for me. Although I have to say, your timestamps are a mess.&lt;BR /&gt;
But I have found something even prettier:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(\-{80}[\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This makes all those - disappear as well. If this does not work for you, then I suspect there is something wrong with the way you're trying to apply the settings. Did you define a new custom sourcetype?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130873#M26918</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-10T09:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130874#M26919</link>
      <description>&lt;P&gt;hello @jeffland, im trying to custom my sourctype upon indexing the log file. i wonder why it doesn't work on me ..&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130874#M26919</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-13T06:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130875#M26920</link>
      <description>&lt;P&gt;@jeffland would you mind if i ask you to post here your props.conf for the sourcetype you used? that would help me a lot to understand what you did with the line break.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130875#M26920</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-13T06:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130876#M26921</link>
      <description>&lt;P&gt;In /etc/system/local/props.conf, I have&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[temp_dummy_line]
LINE_BREAKER = (\-{80}[\r\n]+)
SHOULD_LINEMERGE = false
category = Custom
disabled = false
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I import your logfile, I select Custom -&amp;gt; temp_dummy_line from the sourcetype menu, and this gives me these very nice events:&lt;BR /&gt;
&lt;A href="http://postimg.org/image/u1h31evzj/" target="_blank"&gt;http://postimg.org/image/u1h31evzj/&lt;/A&gt;&lt;BR /&gt;
I don't know how your timestamps work, but I even tried to add the following two lines to the same props.conf stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DATETIME_CONFIG = /etc/temp_linebreak.xml
MAX_TIMESTAMP_LOOKAHEAD = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And in the temp_linebreak.xml, I put&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;datetime&amp;gt;
    &amp;lt;define name="time" extract="hour, minute, second"&amp;gt;
        &amp;lt;text&amp;gt;&amp;lt;![CDATA[20\d{6}\|(\d{2})(\d{2})(\d{2})]]&amp;gt;&amp;lt;/text&amp;gt;
    &amp;lt;/define&amp;gt;
    &amp;lt;define name="date" extract="year, month, day"&amp;gt;
        &amp;lt;text&amp;gt;&amp;lt;![CDATA[20(\d{2})(\d{2})(\d{2})]]&amp;gt;&amp;lt;/text&amp;gt;
    &amp;lt;/define&amp;gt;
    &amp;lt;timePatterns&amp;gt;
        &amp;lt;use name="time"/&amp;gt;
    &amp;lt;/timePatterns&amp;gt;
    &amp;lt;datePatterns&amp;gt;
        &amp;lt;use name="date"/&amp;gt;
    &amp;lt;/datePatterns&amp;gt;
&amp;lt;/datetime&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This may be the wrong interpretation of your timestamps, but at least every event has a timestamp now.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:30:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130876#M26921</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2020-09-28T19:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130877#M26922</link>
      <description>&lt;P&gt;@jeffland i would try this. and by the way thank you for the effort on how would the timestamp work . i will get back to you in a while, i'll try this. &lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 08:22:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130877#M26922</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-13T08:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130878#M26923</link>
      <description>&lt;P&gt;hello @jeffland .. it work but there is some misunderstanding between us.. &lt;BR /&gt;
what you meant is this &lt;A href="http://postimg.org/image/fx32ptft5/"&gt;http://postimg.org/image/fx32ptft5/&lt;/A&gt;&lt;BR /&gt;
what you did is you break event every after the long dashes ---...---&lt;/P&gt;

&lt;P&gt;but what i want to be my event is this &lt;A href="http://postimg.org/image/6ssmefynl/"&gt;http://postimg.org/image/6ssmefynl/&lt;/A&gt;&lt;BR /&gt;
i enclosed in a red rectangle shape the event i want to have .&lt;/P&gt;

&lt;P&gt;please bear with me ..&lt;BR /&gt;
thank you very very much&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 08:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130878#M26923</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-13T08:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130879#M26924</link>
      <description>&lt;P&gt;You're welcome. Any help I can give is training for me.&lt;BR /&gt;
Ah, so the parts with many lines of &lt;CODE&gt;PA_NOTIF_...&lt;/CODE&gt; and &lt;CODE&gt;ABCDEFG_...&lt;/CODE&gt; belong to the event before that. Does this also apply to the first event in your log, i.e. does the long part of &lt;CODE&gt;PA_COMP...&lt;/CODE&gt; belong to &lt;CODE&gt;GARETTE...&lt;/CODE&gt;? And what about the first &lt;CODE&gt;EMEM1...&lt;/CODE&gt; which is not divided from the first &lt;CODE&gt;PA_COMP...&lt;/CODE&gt; by 80 - characters, does it &lt;EM&gt;not&lt;/EM&gt; belong to the long part of &lt;CODE&gt;PA_COMP...&lt;/CODE&gt; as well but is indeed also a new event? If the answer is yes to all those questions, then this is your regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;([\r\n]+)(?:[^|]*\|){6}\w*\n\-{80}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This looks for a linebreak (which will mark your new event), six instances of | with something (or nothing) between them followed by a word (which so far is "Completed" in your data), a newline and 80 - characters.&lt;/P&gt;

&lt;P&gt;Hope this is it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 09:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130879#M26924</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2015-04-13T09:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking: Regex not recognized, not breaking using my defined regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130880#M26925</link>
      <description>&lt;P&gt;hello @jeffland will definitely try this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 02:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Regex-not-recognized-not-breaking-using-my-defined/m-p/130880#M26925</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-04-14T02:44:24Z</dc:date>
    </item>
  </channel>
</rss>

