<?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: props.conf event breaks in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98017#M20451</link>
    <description>&lt;P&gt;I would probably change the regexes a bit so that they are more flexible regarding the spacing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ncpmonitor]
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=Status_AdvCorrServerSerial\s*=
TIME_PREFIX=RawCaptureTimeStamp\s*=\s*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where exactly are the "spaces"? Are you talking about 2 blank lines between events or two spaces that sometimes appear at the beginning of the line with &lt;CODE&gt;Status_AdvCorrServerSerial&lt;/CODE&gt;? Splunk should only break events at a line break when you are using &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt; - it should break at the beginning of the line that matches.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2013 18:52:20 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-07-17T18:52:20Z</dc:date>
    <item>
      <title>props.conf event breaks</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98016#M20450</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have the following format of a log starting with the first message in the log as Status_AdvCorrServerSerial = 0 then the last line of the event as RawCaptureTimeStamp = #, which we set at the timestamp. After the event in the format below there are 2 spaces between each event then it goes into the same format again.&lt;/P&gt;

&lt;P&gt;Status_AdvCorrServerSerial = 0&lt;BR /&gt;
50 Some lines of material...&lt;BR /&gt;
RawCaptureTimeStamp = 1373987459&lt;BR /&gt;
-new line-&lt;BR /&gt;
-new line-&lt;BR /&gt;
Status_AdvCorrServerSerial = 0&lt;BR /&gt;
50 Some lines of material...&lt;BR /&gt;
RawCaptureTimeStamp = 1373987459&lt;/P&gt;

&lt;P&gt;Here is our props.conf but it does not seem to properly break on all events:&lt;/P&gt;

&lt;P&gt;[ncpmonitor]&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
BREAK_ONLY_BEFORE=Status_AdvCorrServerSerial =&lt;BR /&gt;
TIME_PREFIX=RawCaptureTimeStamp =&lt;/P&gt;

&lt;P&gt;Is there something additional I should add to account for the 2 spaces between events or does this props.conf entry look alright?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98016#M20450</guid>
      <dc:creator>aaronkorn</dc:creator>
      <dc:date>2020-09-28T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf event breaks</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98017#M20451</link>
      <description>&lt;P&gt;I would probably change the regexes a bit so that they are more flexible regarding the spacing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ncpmonitor]
NO_BINARY_CHECK=1
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=Status_AdvCorrServerSerial\s*=
TIME_PREFIX=RawCaptureTimeStamp\s*=\s*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where exactly are the "spaces"? Are you talking about 2 blank lines between events or two spaces that sometimes appear at the beginning of the line with &lt;CODE&gt;Status_AdvCorrServerSerial&lt;/CODE&gt;? Splunk should only break events at a line break when you are using &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt; - it should break at the beginning of the line that matches.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 18:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98017#M20451</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-07-17T18:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf event breaks</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98018#M20452</link>
      <description>&lt;P&gt;Thanks for your post. The two spaces are between events. Ill give this a shot&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 19:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98018#M20452</guid>
      <dc:creator>aaronkorn</dc:creator>
      <dc:date>2013-07-17T19:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf event breaks</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98019#M20453</link>
      <description>&lt;P&gt;Beat me to it.  One other thing is you may need to specify TIME_FORMAT=%s for the epoch time stamp recognition.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 20:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98019#M20453</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2013-07-17T20:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf event breaks</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98020#M20454</link>
      <description>&lt;P&gt;You could also try&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;BREAK_ONLY_BEFORE=\s*Status_AdvCorrServerSerial\s*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It &lt;EM&gt;shouldn't&lt;/EM&gt; make a difference, though.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 21:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-event-breaks/m-p/98020#M20454</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-07-17T21:20:52Z</dc:date>
    </item>
  </channel>
</rss>

