<?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: Prevent splunk from splitting file dump into 2 events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95560#M19898</link>
    <description>&lt;P&gt;I will give this a try and see if it resolves the problem tomorrow morning. Thank you for the feedback either way!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2013 21:13:17 GMT</pubDate>
    <dc:creator>msarro</dc:creator>
    <dc:date>2013-07-15T21:13:17Z</dc:date>
    <item>
      <title>Prevent splunk from splitting file dump into 2 events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95558#M19896</link>
      <description>&lt;P&gt;Hello, &lt;BR /&gt;
I have a universal forwarders installed on several servers. Each one is configured to monitor a license utilization file which is regenerated every day by a piece of 3rd party software. However, the file is being split into two events for some reason on only a few of our servers. The split always occurs at 257 lines.&lt;/P&gt;

&lt;P&gt;Our props.conf file on our indexers reads like this:&lt;BR /&gt;
[TRUNKING_AS_LICENSE_FILE]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 40&lt;BR /&gt;
TZ = UTC&lt;BR /&gt;
MAX_EVENTS=10000&lt;/P&gt;

&lt;P&gt;So what exactly would be causing the file to line break when I search with the search head? Is it a limit on the search head side of things to not show events longer than 256 lines? Any advice would be helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95558#M19896</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2020-09-28T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent splunk from splitting file dump into 2 events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95559#M19897</link>
      <description>&lt;P&gt;Splunk limits events to 10000 characters by default. So in addition to setting &lt;CODE&gt;MAX_EVENTS&lt;/CODE&gt;, you may also want to set &lt;CODE&gt;TRUNCATE&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRUNCATE = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;means "never truncate" but you can also set a large integer value as well...&lt;/P&gt;

&lt;P&gt;The Splunk indexer does not really care about silly human things like line breaks or lengths. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; These settings are to keep things sane for us. I have seen events that were over 10K in size, and Splunk worked fine. However - it is not possible to see an event this large in the Splunk UI. Or at least, you can't view the entire event all at once. But it is there in Splunk...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 19:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95559#M19897</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-07-15T19:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent splunk from splitting file dump into 2 events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95560#M19898</link>
      <description>&lt;P&gt;I will give this a try and see if it resolves the problem tomorrow morning. Thank you for the feedback either way!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 21:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95560#M19898</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2013-07-15T21:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent splunk from splitting file dump into 2 events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95561#M19899</link>
      <description>&lt;P&gt;This worked exactly as I needed, thank you! I now have beautiful 281 line events, ha!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 13:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Prevent-splunk-from-splitting-file-dump-into-2-events/m-p/95561#M19899</guid>
      <dc:creator>msarro</dc:creator>
      <dc:date>2013-07-16T13:36:18Z</dc:date>
    </item>
  </channel>
</rss>

