<?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 Splunk automatically breaking log entries after 100 lines. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-automatically-breaking-log-entries-after-100-lines/m-p/66515#M13367</link>
    <description>&lt;P&gt;I am trying out Splunk and facing an issue. I have some large log entries in my log file, say 250 lines and I have defined 'BREAK_ONLY_BEFORE = some regex'. Now in addition to breaking before the given regex, Splunk also breaks the log entry after every 100 lines. This resulting in multiple events (in above case 3 events) for single log entry. I have tried this using Splunk web's 'Data Preview' feature. &lt;/P&gt;

&lt;P&gt;My props.conf setting for the sourcetype&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
[dummy_source]&lt;BR /&gt;
BREAK_ONLY_BEFORE=^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\s---\sERROR:\s&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Edit-&lt;/STRONG&gt; I tried setting&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
MAX_EVENTS = 1000&lt;BR /&gt;
&lt;/PRE&gt; &lt;/P&gt;

&lt;P&gt;Now I am getting single event for each log entry but the problem now is, the event displayed is truncated. It does not seem to contain all the 250 lines from the log entry.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:53:49 GMT</pubDate>
    <dc:creator>tmail037</dc:creator>
    <dc:date>2020-09-28T11:53:49Z</dc:date>
    <item>
      <title>Splunk automatically breaking log entries after 100 lines.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-automatically-breaking-log-entries-after-100-lines/m-p/66515#M13367</link>
      <description>&lt;P&gt;I am trying out Splunk and facing an issue. I have some large log entries in my log file, say 250 lines and I have defined 'BREAK_ONLY_BEFORE = some regex'. Now in addition to breaking before the given regex, Splunk also breaks the log entry after every 100 lines. This resulting in multiple events (in above case 3 events) for single log entry. I have tried this using Splunk web's 'Data Preview' feature. &lt;/P&gt;

&lt;P&gt;My props.conf setting for the sourcetype&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
[dummy_source]&lt;BR /&gt;
BREAK_ONLY_BEFORE=^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\s---\sERROR:\s&lt;BR /&gt;
NO_BINARY_CHECK=1&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Edit-&lt;/STRONG&gt; I tried setting&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
MAX_EVENTS = 1000&lt;BR /&gt;
&lt;/PRE&gt; &lt;/P&gt;

&lt;P&gt;Now I am getting single event for each log entry but the problem now is, the event displayed is truncated. It does not seem to contain all the 250 lines from the log entry.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-automatically-breaking-log-entries-after-100-lines/m-p/66515#M13367</guid>
      <dc:creator>tmail037</dc:creator>
      <dc:date>2020-09-28T11:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automatically breaking log entries after 100 lines.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-automatically-breaking-log-entries-after-100-lines/m-p/66516#M13368</link>
      <description>&lt;P&gt;I am updating this so that someday someone will benefit from it.&lt;/P&gt;

&lt;P&gt;Its just the data preview UI which shows truncated logs. Actually the logs are not &lt;BR /&gt;
truncated. Each event contains complete log entry.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2012 10:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-automatically-breaking-log-entries-after-100-lines/m-p/66516#M13368</guid>
      <dc:creator>tmail037</dc:creator>
      <dc:date>2012-06-02T10:43:10Z</dc:date>
    </item>
  </channel>
</rss>

