<?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: Trouble splitting events correctly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498260#M86063</link>
    <description>&lt;P&gt;Thanks for your answer, I had already figured it out in the meantime. LINE_BREAKER = (&amp;amp;&amp;amp;&amp;amp;)(\d+) worked.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2020 13:38:29 GMT</pubDate>
    <dc:creator>nwenzl_splunk</dc:creator>
    <dc:date>2020-03-20T13:38:29Z</dc:date>
    <item>
      <title>Trouble splitting events correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498258#M86061</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I'm having trouble getting some weblogs to show up correctly in Splunk. What I'm trying to index looks like this:&lt;/P&gt;

&lt;P&gt;201.28.109.162 - - [13/Jan/2016 21:03:04:164] "POST /cart.do?action=view&amp;amp;itemId=EST-21&amp;amp;product_id=FL-DLH-02&amp;amp;JSESSIONID=SD7SL9FF3ADFF4 HTTP 1.1" 404 2827 "&lt;A href="http://www.myflowershop.com/category.screen?category_id=GIFTS" target="_blank"&gt;http://www.myflowershop.com/category.screen?category_id=GIFTS&lt;/A&gt;" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4"&amp;amp;&amp;amp;&amp;amp;12.130.60.5 - - [13/Jan/2016 17:15:44:111] "POST /product.screen?product_id=FI-FW-02&amp;amp;JSESSIONID=SD8SL8FF7ADFF7 HTTP 1.1" 200 404 "&lt;A href="http://www.myflowershop.com/product.screen?product_id=FI-FW-02" target="_blank"&gt;http://www.myflowershop.com/product.screen?product_id=FI-FW-02&lt;/A&gt;" "Opera/9.20 (Windows NT 6.0; U; en)"&lt;/P&gt;

&lt;P&gt;Every event is separated by &lt;STRONG&gt;&amp;amp;&amp;amp;&amp;amp;&lt;/STRONG&gt; and so far I've managed the events to split somewhat correctly, but can't get rid of the &lt;STRONG&gt;&amp;amp;&amp;amp;&amp;amp;&lt;/STRONG&gt; that still shows up at the beginning of each event:&lt;/P&gt;

&lt;P&gt;201.28.109.162 - - [13/Jan/2016 21:03:04:164] "POST /cart.do?action=view&amp;amp;itemId=EST-21&amp;amp;product_id=FL-DLH-02&amp;amp;JSESSIONID=SD7SL9FF3ADFF4 HTTP 1.1" 404 2827 "&lt;A href="http://www.myflowershop.com/category.screen?category_id=GIFTS" target="_blank"&gt;http://www.myflowershop.com/category.screen?category_id=GIFTS&lt;/A&gt;" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4" &lt;/P&gt;

&lt;P&gt;&amp;amp;&amp;amp;&amp;amp;12.130.60.5 - - [13/Jan/2016 17:15:44:111] "POST /product.screen?product_id=FI-FW-02&amp;amp;JSESSIONID=SD8SL8FF7ADFF7 HTTP 1.1" 200 404 "&lt;A href="http://www.myflowershop.com/product.screen?product_id=FI-FW-02" target="_blank"&gt;http://www.myflowershop.com/product.screen?product_id=FI-FW-02&lt;/A&gt;" "Opera/9.20 (Windows NT 6.0; U; en)" &lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LINE_BREAKER = (\d+)&amp;amp;&amp;amp;&amp;amp;(\d+)
NO_BINARY_CHECK = true
REPORT-access = access-extractions
SHOULD_LINEMERGE = false
TIME_PREFIX = \[
TRUNCATE = 0
category = Custom
disabled = false
maxDist = 28
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've also tried using things like MUST_BREAK_AFTER = .+?(?=&amp;amp;&amp;amp;&amp;amp;) but that didn't help either.&lt;BR /&gt;
Anybody who can offer any advice?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:40:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498258#M86061</guid>
      <dc:creator>nwenzl_splunk</dc:creator>
      <dc:date>2020-09-30T04:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble splitting events correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498259#M86062</link>
      <description>&lt;P&gt;The &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; setting breaks lines at the first capture group discards the contents of that group.  Try &lt;CODE&gt;LINE_BREAKER = \d+(&amp;amp;&amp;amp;&amp;amp;)\d+&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:12:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498259#M86062</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-20T13:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble splitting events correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498260#M86063</link>
      <description>&lt;P&gt;Thanks for your answer, I had already figured it out in the meantime. LINE_BREAKER = (&amp;amp;&amp;amp;&amp;amp;)(\d+) worked.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-splitting-events-correctly/m-p/498260#M86063</guid>
      <dc:creator>nwenzl_splunk</dc:creator>
      <dc:date>2020-03-20T13:38:29Z</dc:date>
    </item>
  </channel>
</rss>

