<?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 edit my current configuration for correct multiline event breaking? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184379#M36932</link>
    <description>&lt;P&gt;OMG. That was it. So sorry for the swirl!&lt;/P&gt;

&lt;P&gt;The last config looks like its working fine!&lt;/P&gt;

&lt;P&gt;Thanks all&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2015 18:09:18 GMT</pubDate>
    <dc:creator>chrisboy68</dc:creator>
    <dc:date>2015-01-15T18:09:18Z</dc:date>
    <item>
      <title>How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184367#M36920</link>
      <description>&lt;P&gt;Hi, I have a flat file multiline log:&lt;BR /&gt;
Here is my props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [emailAlerts2]
 SHOULD_LINEMERGE=true
 BREAK_ONLY_BEFORE_DATE = false
 BREAK_ONLY_BEFORE = &amp;lt;/EcomLogEntry&amp;gt;
 TRUNCATE=0
 MAX_EVENTS =512
 TIME_PREFIX = \d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d-0500
 MAX_TIMESTAMP_LOOKAHEAD=25
 LINE_BREAKER_LOOKBEHIND=500
 TIME_PREFIX = ^Date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample log file is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;EcomLogEntry&amp;gt;
Date: 2015-01-13T23:59:00-0500
Date: 1/13/2015 11:59 PM

Log Stuff 1
Log Stuff 2
Log Stuf 3 etc

&amp;lt;/EcomLogEntry&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I want to do is grab everything between the EcomLogEntry tags (tried many different break options). Sometimes it works. Other times, I get just one event with a Date or one event with , it's not consistent.  &lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 20:22:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184367#M36920</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2015-01-14T20:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184368#M36921</link>
      <description>&lt;P&gt;I think your event start is  correct?&lt;/P&gt;

&lt;P&gt;Modify the BREAK_ONLY_BEFORE line to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                       BREAK_ONLY_BEFORE = \&amp;lt;EcomLogEntry\&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184368#M36921</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2020-09-28T18:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184369#M36922</link>
      <description>&lt;P&gt;Typo? Modify it to what?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 20:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184369#M36922</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2015-01-14T20:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184370#M36923</link>
      <description>&lt;P&gt;You have two TIME_PREFIX entries in your props.conf file.  Perhaps the first should be TIME_FORMAT?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184370#M36923</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-28T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184371#M36924</link>
      <description>&lt;P&gt;Updated now..  anything in between angel brackets without space, will be removed after post in this website.&lt;/P&gt;

&lt;P&gt;So, &lt;BR /&gt;
 1. I have put space after &amp;amp; before angel brackets. Please remove them.&lt;BR /&gt;
 2. Put back slash for both angel brackets..  (use escape characters for both angel brackets)&lt;BR /&gt;
 3. As richgalloway pointed, 1st TIME_PREFIX should be TIME_FORMAT&lt;BR /&gt;
 4. Remove the following lines&lt;BR /&gt;
  MAX_TIMESTAMP_LOOKAHEAD=25&lt;BR /&gt;
  LINE_BREAKER_LOOKBEHIND=500&lt;/P&gt;

&lt;P&gt;try these steps and let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184371#M36924</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2020-09-28T18:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184372#M36925</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [emailAlerts2]
BREAK_ONLY_BEFORE = &amp;lt;EcomLogEntry&amp;gt;
MAX_EVENTS = 512
MAX_TIMESTAMP_LOOKAHEAD = 40
MUST_BREAK_AFTER = &amp;lt;/EcomLogEntry&amp;gt;
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = true
TIME_PREFIX = Date\:
TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jan 2015 23:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184372#M36925</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-01-14T23:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184373#M36926</link>
      <description>&lt;P&gt;If you indent a line 4 spaces the editor will ignore angle brackets on that line.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 23:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184373#M36926</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-14T23:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184374#M36927</link>
      <description>&lt;P&gt;Thanks for the tips. Still having an issue. My latest config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [emailAlerts2]
    BREAK_ONLY_BEFORE = \&amp;lt;EcomLogEntry\&amp;gt;
    NO_BINARY_CHECK = 1
    BREAK_ONLY_BEFORE_DATE = false
    SHOULD_LINEMERGE = true
    TIME_FORMAT = \d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d-0500
    TIME_PREFIX = Date\:
    TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm still getting multiple breaks. One on  &amp;lt; EcomLogEntry &amp;gt; and the other on the Date. Its like its ignoring the  BREAK_ONLY_BEFORE_DATE directive.  I also tried added the MUST_BREAK_AFTER = &amp;lt; / EcomLogEntry &amp;gt;, but still had the same results. &lt;/P&gt;

&lt;P&gt;Any other tips?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184374#M36927</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2020-09-28T18:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184375#M36928</link>
      <description>&lt;P&gt;Hi Chris&lt;/P&gt;

&lt;P&gt;Add one more configuration line BREAK_ONLY_BEFORE_DATE = false  to your props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;         [emailAlerts2]
         BREAK_ONLY_BEFORE = \&amp;lt;EcomLogEntry\&amp;gt;
         NO_BINARY_CHECK = 1
         BREAK_ONLY_BEFORE_DATE = false
         SHOULD_LINEMERGE = true
         TIME_FORMAT = \d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d-0500
         TIME_PREFIX = Date\:
         TRUNCATE = 0
         BREAK_ONLY_BEFORE_DATE = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184375#M36928</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2020-09-28T18:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184376#M36929</link>
      <description>&lt;P&gt;I guess the TIME_FORMAT needs to be fixed here. Try the below configuration.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE = \&amp;lt;EcomLogEntry\&amp;gt;
MAX_EVENTS = 512
MAX_TIMESTAMP_LOOKAHEAD = 150
MUST_BREAK_AFTER = \&amp;lt;\/EcomLogEntry\&amp;gt;
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
TIME_FORMAT = %Y-%m-%dT%H:%M:%S%Z
TIME_PREFIX = Date\:
TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Jan 2015 15:58:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184376#M36929</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-01-15T15:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184377#M36930</link>
      <description>&lt;P&gt;Ugh. Still now go. Just so I'm clear. I'm using the Splunk Universal Forwarder and editing the&lt;BR /&gt;
 C:\Program Files\SplunkUniversalForwarder\etc\system\local\props.conf . Then I restart the SUF to pick up the new config changes. &lt;/P&gt;

&lt;P&gt;Latest config below. I still see it breaking on the date timestamp. Also, the BREAK_ONLY_BEFORE includes the line &amp;lt; EcomLogEntry &amp;gt;, so at the end of an event, I will get:&lt;/P&gt;

&lt;P&gt;&amp;lt; EcomLogEntry &amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [emailAlerts2]
    BREAK_ONLY_BEFORE = \&amp;lt;EcomLogEntry\&amp;gt;
    NO_BINARY_CHECK = 1
    BREAK_ONLY_BEFORE_DATE = false
    SHOULD_LINEMERGE = true
    TIME_FORMAT=%Y-%m-%dT%H:%M:%S%z
    TIME_PREFIX = Date\:
    TRUNCATE = 0
    BREAK_ONLY_BEFORE_DATE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your Help!&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184377#M36930</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2020-09-28T18:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184378#M36931</link>
      <description>&lt;P&gt;You should be putting these settings in your indexer(s), not the forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 17:57:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184378#M36931</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-01-15T17:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184379#M36932</link>
      <description>&lt;P&gt;OMG. That was it. So sorry for the swirl!&lt;/P&gt;

&lt;P&gt;The last config looks like its working fine!&lt;/P&gt;

&lt;P&gt;Thanks all&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184379#M36932</guid>
      <dc:creator>chrisboy68</dc:creator>
      <dc:date>2015-01-15T18:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my current configuration for correct multiline event breaking?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184380#M36933</link>
      <description>&lt;P&gt;thats cool. Incase if you plan to use Heavy Forwarder between Uni. Forwarder and Indexer, then put these changes in Heavy forwarder aswell.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-my-current-configuration-for-correct-multiline-event/m-p/184380#M36933</guid>
      <dc:creator>jayannah</dc:creator>
      <dc:date>2015-01-15T21:12:08Z</dc:date>
    </item>
  </channel>
</rss>

