<?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 unable to break multi line events in splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143299#M29271</link>
    <description>&lt;P&gt;10:32:21,453 INFO [2212] abcdxyz &amp;lt;-|&lt;BR /&gt;
10:32:21,112 INFO [2212] abcdxyz   |&lt;BR /&gt;
10:32:22,409 INFO [1121] abcdxyz   |&lt;BR /&gt;&lt;BR /&gt;
10:32:23,003 INFO [1121] abcdxyz   |&lt;BR /&gt;
10:32:23,453 INFO [2212] abcdxyz   |&lt;BR /&gt;
&lt;ABC&gt;                  |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |  &amp;lt;---this whole block is taken as the 1st event by splunk&lt;BR /&gt;
some HTML codes                    |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
&lt;/ABC&gt;                           &amp;lt;-|&lt;BR /&gt;
11:09:30,103 INFO [1008] abcdxyz &amp;lt;-|&lt;BR /&gt;
11:09:30,409 INFO [4560] abcdxyz   |&lt;BR /&gt;
11:10:31,092 INFO [2212] abcdxyz   |&lt;BR /&gt;
11:10:31,470 INFO [2212] abcdxyz   |      &amp;lt;- this whole block is taken as the 2nd event by splunk&lt;BR /&gt;&lt;BR /&gt;
&lt;XYZ&gt;                              |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
Some HTML codes                    |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
&lt;/XYZ&gt;                           &amp;lt;-|&lt;BR /&gt;
12:09:20,125.....and so on       &amp;lt;-|&lt;BR /&gt;
                   |     &amp;lt;- 4th event&lt;BR /&gt;
                   .&lt;BR /&gt;
                                   .&lt;BR /&gt;
                 &amp;lt;-.&lt;BR /&gt;
                   .     &amp;lt;- 5th event&lt;BR /&gt;
                   .&lt;BR /&gt;
                 &amp;lt;-.&lt;BR /&gt;&lt;BR /&gt;
I don't know why splunk is not breaking the lines when it finds the timestamp instead of that it is combining few lines as if they are single event though they have different timestamps&lt;BR /&gt;
Is there any way i can split these lines according to the timestamp?&lt;/P&gt;

&lt;P&gt;FYI- I am using splunk universal forwarder(Windows) and splunk indexer(Linux) &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2013 20:20:39 GMT</pubDate>
    <dc:creator>luv</dc:creator>
    <dc:date>2013-11-14T20:20:39Z</dc:date>
    <item>
      <title>unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143299#M29271</link>
      <description>&lt;P&gt;10:32:21,453 INFO [2212] abcdxyz &amp;lt;-|&lt;BR /&gt;
10:32:21,112 INFO [2212] abcdxyz   |&lt;BR /&gt;
10:32:22,409 INFO [1121] abcdxyz   |&lt;BR /&gt;&lt;BR /&gt;
10:32:23,003 INFO [1121] abcdxyz   |&lt;BR /&gt;
10:32:23,453 INFO [2212] abcdxyz   |&lt;BR /&gt;
&lt;ABC&gt;                  |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |  &amp;lt;---this whole block is taken as the 1st event by splunk&lt;BR /&gt;
some HTML codes                    |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
&lt;/ABC&gt;                           &amp;lt;-|&lt;BR /&gt;
11:09:30,103 INFO [1008] abcdxyz &amp;lt;-|&lt;BR /&gt;
11:09:30,409 INFO [4560] abcdxyz   |&lt;BR /&gt;
11:10:31,092 INFO [2212] abcdxyz   |&lt;BR /&gt;
11:10:31,470 INFO [2212] abcdxyz   |      &amp;lt;- this whole block is taken as the 2nd event by splunk&lt;BR /&gt;&lt;BR /&gt;
&lt;XYZ&gt;                              |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
Some HTML codes                    |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
............                       |&lt;BR /&gt;
&lt;/XYZ&gt;                           &amp;lt;-|&lt;BR /&gt;
12:09:20,125.....and so on       &amp;lt;-|&lt;BR /&gt;
                   |     &amp;lt;- 4th event&lt;BR /&gt;
                   .&lt;BR /&gt;
                                   .&lt;BR /&gt;
                 &amp;lt;-.&lt;BR /&gt;
                   .     &amp;lt;- 5th event&lt;BR /&gt;
                   .&lt;BR /&gt;
                 &amp;lt;-.&lt;BR /&gt;&lt;BR /&gt;
I don't know why splunk is not breaking the lines when it finds the timestamp instead of that it is combining few lines as if they are single event though they have different timestamps&lt;BR /&gt;
Is there any way i can split these lines according to the timestamp?&lt;/P&gt;

&lt;P&gt;FYI- I am using splunk universal forwarder(Windows) and splunk indexer(Linux) &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143299#M29271</guid>
      <dc:creator>luv</dc:creator>
      <dc:date>2013-11-14T20:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143300#M29272</link>
      <description>&lt;P&gt;How do you have this sourcetype configured in props.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:30:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143300#M29272</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-14T20:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143301#M29273</link>
      <description>&lt;P&gt;no i don't have props.conf configured for this in the indexer.&lt;BR /&gt;
splunk is supposed to split it automatically right? as there is no need to tell splunk explicitly where to split the events because many lines have timestamps&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143301#M29273</guid>
      <dc:creator>luv</dc:creator>
      <dc:date>2013-11-14T20:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143302#M29274</link>
      <description>&lt;P&gt;This log looks like one of those logs that Splunk needs a little help with.&lt;BR /&gt;
What program is generating this log?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143302#M29274</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-14T20:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143303#M29275</link>
      <description>&lt;P&gt;It is a java code used to perform banking transactions&lt;BR /&gt;
Is there anyway i can split it?&lt;BR /&gt;
this "10:32:21,453" time stamp doesn't count as a valid time by splunk?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143303#M29275</guid>
      <dc:creator>luv</dc:creator>
      <dc:date>2013-11-14T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143304#M29276</link>
      <description>&lt;P&gt;plop this in a props.conf file&lt;/P&gt;

&lt;P&gt;[sourcetypenamehere]&lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)(?\d{1,2}:\d{2}:\d{2},\d{3}&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143304#M29276</guid>
      <dc:creator>mloven_splunk</dc:creator>
      <dc:date>2013-11-14T20:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143305#M29277</link>
      <description>&lt;P&gt;By default Splunk looks for timestamp with date (your just have time) to automatically split the events based on timestamp. Since, your file shows just the time part, splunk need an extra option to break the events on just time. you would have to add "BREAK_ONLY_BEFORE=\d{2}:\d{2}:\d{2},\d{3}" in props.conf to enable splunk to do eventbreak per your requirement.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143305#M29277</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T15:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143306#M29278</link>
      <description>&lt;P&gt;Can you post your configuration for this input from inputs.conf?&lt;BR /&gt;
See if mloven's line breaker works, and then we'll know if you need help with the timestamp.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 20:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143306#M29278</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-14T20:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143307#M29279</link>
      <description>&lt;P&gt;I like &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/149224"&gt;@mloven_splunk&lt;/a&gt;'s answer, but I always prefer &lt;CODE&gt;BREAK_ONLY_BEFORE = &amp;lt;regular expression&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;.  &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; has potentially nasty side-effects. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[sourcetypenamehere]&lt;BR /&gt;
BREAK_ONLY_BEFORE =\d{1,2}:\d{2}:\d{2},\d{3}&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You may also want to specify the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;. Here are some links to the documentation:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/HowSplunkextractstimestamps" target="_blank"&gt;How timestamp assignment works&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/Configuretimestamprecognition" target="_blank"&gt;Configure timestamp recognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Finally, if you get the timestamp recognition right, you &lt;EM&gt;might not&lt;/EM&gt; need to specify the linebreaking. Splunk generally breaks on timestamp by default...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143307#M29279</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2020-09-28T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143308#M29280</link>
      <description>&lt;P&gt;I'm still learning regex, is the regex you posted missing \ before the d's?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 21:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143308#M29280</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-14T21:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143309#M29281</link>
      <description>&lt;P&gt;yes they were removed by the html formating&lt;/P&gt;

&lt;P&gt;"d" shoud be "backslashd"&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 21:47:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143309#M29281</guid>
      <dc:creator>mataharry</dc:creator>
      <dc:date>2013-11-14T21:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143310#M29282</link>
      <description>&lt;P&gt;Sorry about the typo - I made the correction in my answer. Thanks for the catch.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 17:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143310#M29282</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-15T17:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: unable to break multi line events in splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143311#M29283</link>
      <description>&lt;P&gt;Thanks Iguinn that worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 19:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/unable-to-break-multi-line-events-in-splunk/m-p/143311#M29283</guid>
      <dc:creator>luv</dc:creator>
      <dc:date>2013-11-15T19:20:32Z</dc:date>
    </item>
  </channel>
</rss>

