<?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: Really long events being broken up in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30087#M5224</link>
    <description>&lt;P&gt;Add the following to what you already have in your props file&lt;/P&gt;

&lt;P&gt;MAX_EVENTS = 10000&lt;/P&gt;

&lt;P&gt;TRUNCATE = 0&lt;/P&gt;

&lt;P&gt;This will cause the data to not truncate no matter how many lines you have and will break the event into a new event after 10000 lines. If you have more thank 10000 lines in a single event then increase this number accordingly&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2012 21:07:18 GMT</pubDate>
    <dc:creator>cramasta</dc:creator>
    <dc:date>2012-04-18T21:07:18Z</dc:date>
    <item>
      <title>Really long events being broken up</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30086#M5223</link>
      <description>&lt;P&gt;I have an event being imported with a custom source type.  in that source type i have &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NO_BINARY_CHECK=1
CHECK_FOR_HEADER=false
LEARN_SOURCETYPE=false
SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However splunk is still truncating my log lines and then generating a new event with the rest of the line (potentially broken up again) generating incorrect data.  Is there a way i can tell splunk to import the whole log line into one event?  The event log line can be up to 128k.  I am fine with it being truncated in the display but not in the indexed data.  alternatively i am fine with any one field being limited to a certain size (such as 4k) but as it stands now any fields after the really long field is missing.&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
rob&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 20:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30086#M5223</guid>
      <dc:creator>robgreen</dc:creator>
      <dc:date>2012-04-18T20:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Really long events being broken up</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30087#M5224</link>
      <description>&lt;P&gt;Add the following to what you already have in your props file&lt;/P&gt;

&lt;P&gt;MAX_EVENTS = 10000&lt;/P&gt;

&lt;P&gt;TRUNCATE = 0&lt;/P&gt;

&lt;P&gt;This will cause the data to not truncate no matter how many lines you have and will break the event into a new event after 10000 lines. If you have more thank 10000 lines in a single event then increase this number accordingly&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 21:07:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30087#M5224</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2012-04-18T21:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Really long events being broken up</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30088#M5225</link>
      <description>&lt;P&gt;I think just adding TRUNCATE=0 is what i needed.  I don't want to join any separate lines into the same event.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 21:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30088#M5225</guid>
      <dc:creator>robgreen</dc:creator>
      <dc:date>2012-04-18T21:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Really long events being broken up</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30089#M5226</link>
      <description>&lt;P&gt;Max_events will not do that.&lt;BR /&gt;
Linebreaking will still occur by whatever you have defined in your config which  from what it looks like is to make a new event when it detects a timestamp&lt;/P&gt;

&lt;P&gt;MAX_EVENTS = 10000 will allow a single event to go beyond the Splunk default of 256 lines per event.  This is the solution for the problem you described where the remaining part of a single event was 'overflowed' into a new event.&lt;/P&gt;

&lt;P&gt;So for instance if your single event was 300 lines long, 256 lines will go into one event and the remaining 44 lines will be placed into a new event&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 21:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30089#M5226</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2012-04-18T21:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Really long events being broken up</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30090#M5227</link>
      <description>&lt;P&gt;Truncate=0 only stops splunk from discarding data that should be indexed after some number of characters in a single event is reached, the exact limit of characters i dont remember off the top of my head.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 21:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Really-long-events-being-broken-up/m-p/30090#M5227</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2012-04-18T21:58:51Z</dc:date>
    </item>
  </channel>
</rss>

