<?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: still splitting on blank line in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18876#M2615</link>
    <description>&lt;P&gt;Thanks for the response, Kristian. Unfortunately, the logs are still getting split on the blank line- creating two entries. &lt;/P&gt;

&lt;P&gt;Will keep reviewing to see if there's an alternate method available to this.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2012 18:07:51 GMT</pubDate>
    <dc:creator>tgiles</dc:creator>
    <dc:date>2012-04-06T18:07:51Z</dc:date>
    <item>
      <title>still splitting on blank line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18874#M2613</link>
      <description>&lt;P&gt;Hi, All.&lt;/P&gt;

&lt;P&gt;I'm trying to parse trend micro logs on a windows system using a heavy forwarder. Running into issues getting the entries to split in the right spot.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* Date Time:[20120404 00:10:46]
* Server Information: 
        Server Name:[myserver.com]  IP:[192.168.0.1]  Port:[80]
* Client Information: 
        Computer Name:[SERVER1]  Port:[38292]
        Client IP:[10.200.0.200  ] 
        GUID:[af697491-b868-48d3-b868-fa13854d48d3] 
* Action: Scheduled Update
* Result: Scheduled Update, Started

=========================================================================================
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk splits on ([\r\n]+), so something like the above will end up making two event entries in Splunk when only one actual entry is made to the log file itself. &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I've defined the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; and &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; attempted to &lt;CODE&gt;BREAK_ONLY_BEFORE_DATE&lt;/CODE&gt;, but that didn't work.&lt;/LI&gt;
&lt;LI&gt;I've configured the &lt;CODE&gt;MUST_BREAK_AFTER&lt;/CODE&gt; to the long "===" line, but it didn't.&lt;/LI&gt;
&lt;LI&gt;I've set the &lt;CODE&gt;MUST_NOT_BREAK_AFTER&lt;/CODE&gt; to the default break regex, but it still broke in the same place.&lt;/LI&gt;
&lt;LI&gt;Also attempted to use a &lt;CODE&gt;SEDCMD&lt;/CODE&gt; to remove the long "===" line completely, but it didn't work, either.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I'm running out of really good ideas on how to force the entire entry into just one Splunk event. Mind pointing me in the right direction on this?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;tom&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2012 16:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18874#M2613</guid>
      <dc:creator>tgiles</dc:creator>
      <dc:date>2012-04-04T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: still splitting on blank line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18875#M2614</link>
      <description>&lt;P&gt;I'd suggest that you alter your &lt;CODE&gt;props.conf&lt;/CODE&gt; on the Heavy Forwarder accordingly;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_sourcetype_whatever_it's_called]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+={10,100})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should use the newline(s), followed by anything between 10 and 100 '='-characters as the break between events. There should be no &lt;CODE&gt;MUST_BREAK..&lt;/CODE&gt;, &lt;CODE&gt;BREAK_ONLY..&lt;/CODE&gt; etc, but you could/should still have the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; / &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; / &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2012 17:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18875#M2614</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-04-04T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: still splitting on blank line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18876#M2615</link>
      <description>&lt;P&gt;Thanks for the response, Kristian. Unfortunately, the logs are still getting split on the blank line- creating two entries. &lt;/P&gt;

&lt;P&gt;Will keep reviewing to see if there's an alternate method available to this.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 18:07:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18876#M2615</guid>
      <dc:creator>tgiles</dc:creator>
      <dc:date>2012-04-06T18:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: still splitting on blank line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18877#M2616</link>
      <description>&lt;P&gt;In the end, I used a &lt;CODE&gt;SEDCMD&lt;/CODE&gt; just to remove the errant extra line that Splunk was splitting on. In the props.conf, I added:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::*]
SEDCMD-avlog = s/=========================================================================================//g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That works.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2012 19:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/still-splitting-on-blank-line/m-p/18877#M2616</guid>
      <dc:creator>tgiles</dc:creator>
      <dc:date>2012-04-06T19:27:18Z</dc:date>
    </item>
  </channel>
</rss>

