<?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: http event collector truncates event to 10,000 characters in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509407#M86654</link>
    <description>&lt;P&gt;thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt; ! you were correct!&lt;/P&gt;&lt;PRE&gt;$ /opt/splunk/bin/splunk btool props list _json --debug | grep -i truncate&lt;BR /&gt;/opt/splunk/etc/system/default/props.conf TRUNCATE = 10000&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 21:46:52 GMT</pubDate>
    <dc:creator>sloh_splunk</dc:creator>
    <dc:date>2020-07-15T21:46:52Z</dc:date>
    <item>
      <title>http event collector truncates event to 10,000 characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509378#M86650</link>
      <description>&lt;P&gt;I am sending data to my splunk instance like &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/HECExamples" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/HECExamples&lt;/A&gt; says to:&lt;/P&gt;&lt;PRE&gt;curl -k "https://mysplunkserver.example.com:8088/services/collector" \&lt;BR /&gt;-H "Authorization: Splunk CF179AE4-3C99-45F5-A7CC-3284AA91CF67" \&lt;BR /&gt;-d '{"sourcetype": "_json","event": {'....over 10,000 character json event'&lt;/PRE&gt;&lt;P&gt;I get a success return&lt;/P&gt;&lt;PRE&gt;{"text":"Success","code":0}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When query for the event and i do a character count on it, I see it always truncates my events to 10,000 characters.&lt;/P&gt;&lt;P&gt;On my server, looking at&lt;/P&gt;&lt;PRE&gt;./etc/system/default/limits.conf&lt;/PRE&gt;&lt;P&gt;It has inside:&lt;/P&gt;&lt;PRE&gt;[http_input]&lt;BR /&gt;# The max number of tokens reported by logging input metrics.&lt;BR /&gt;max_number_of_tokens = 10000&lt;BR /&gt;# The interval (in seconds) of logging input metrics report.&lt;BR /&gt;metrics_report_interval = 60&lt;BR /&gt;# The max request content length (800MB, to match HTTP server).&lt;BR /&gt;max_content_length = 838860800&lt;BR /&gt;# The max number of ACK channels.&lt;BR /&gt;max_number_of_ack_channel = 1000000&lt;BR /&gt;# The max number of acked requests pending query.&lt;BR /&gt;max_number_of_acked_requests_pending_query = 10000000&lt;BR /&gt;# The max number of acked requests pending query per ACK channel.&lt;BR /&gt;max_number_of_acked_requests_pending_query_per_ack_channel = 1000000&lt;/PRE&gt;&lt;P&gt;Seems like everything is ok there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in&lt;/P&gt;&lt;PRE&gt;./etc/system/local/limits.conf&lt;/PRE&gt;&lt;P&gt;it has:&lt;/P&gt;&lt;PRE&gt;[search]&lt;BR /&gt;allow_batch_mode = 1&lt;BR /&gt;allow_inexact_metasearch = 0&lt;BR /&gt;always_include_indexedfield_lispy = 0&lt;BR /&gt;default_allow_queue = 1&lt;BR /&gt;disabled = 0&lt;BR /&gt;enable_conditional_expansion = 1&lt;BR /&gt;enable_cumulative_quota = 0&lt;BR /&gt;enable_datamodel_meval = 1&lt;BR /&gt;enable_history = 1&lt;BR /&gt;enable_memory_tracker = 0&lt;BR /&gt;force_saved_search_dispatch_as_user = 0&lt;BR /&gt;load_remote_bundles = 0&lt;BR /&gt;record_search_telemetry = 1&lt;BR /&gt;remote_timeline = 1&lt;BR /&gt;search_retry = 0&lt;BR /&gt;timeline_events_preview = 0&lt;BR /&gt;track_indextime_range = 1&lt;BR /&gt;track_matching_sourcetypes = 1&lt;BR /&gt;truncate_report = 0&lt;BR /&gt;unified_search = 0&lt;BR /&gt;use_bloomfilter = 1&lt;BR /&gt;use_metadata_elimination = 1&lt;BR /&gt;write_multifile_results_out = 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is Splunk truncating my events to 10,000 characters that I am sending? If my JSON is less than 10,000 characters, I am able to see all the data and it JSON formatted when I do a splunk query.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 19:30:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509378#M86650</guid>
      <dc:creator>sloh_splunk</dc:creator>
      <dc:date>2020-07-15T19:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: http event collector truncates event to 10,000 characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509400#M86651</link>
      <description>&lt;P&gt;It feels like the limit you are hitting here is a truncate limit in props.conf&lt;/P&gt;&lt;P&gt;Can you confirm that it is arriving in Splunk as "_json" sourcetype? If so try running this on the host receiving the HEC:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/bin/splunk btool props list _json --debug | grep -i truncate&lt;/LI-CODE&gt;&lt;P&gt;If it gives 10000 then that is where the limit is being applied!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 20:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509400#M86651</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2020-07-15T20:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: http event collector truncates event to 10,000 characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509407#M86654</link>
      <description>&lt;P&gt;thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt; ! you were correct!&lt;/P&gt;&lt;PRE&gt;$ /opt/splunk/bin/splunk btool props list _json --debug | grep -i truncate&lt;BR /&gt;/opt/splunk/etc/system/default/props.conf TRUNCATE = 10000&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 21:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/509407#M86654</guid>
      <dc:creator>sloh_splunk</dc:creator>
      <dc:date>2020-07-15T21:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: http event collector truncates event to 10,000 characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/516411#M87402</link>
      <description>&lt;P&gt;updated /opt/splunk/etc/system/local/props.conf and put "TRUNCATE = 52428800"&amp;nbsp; under [_json]&lt;/P&gt;&lt;P&gt;so local/props.conf looks like:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;[_json]
TRUNCATE = 52428800&lt;/LI-CODE&gt;&lt;P&gt;and now TRUNCATE returns as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ /opt/splunk/bin/splunk btool props list _json --debug | grep -i truncate
/opt/splunk/etc/system/local/props.conf   TRUNCATE = 52428800&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 00:39:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/http-event-collector-truncates-event-to-10-000-characters/m-p/516411#M87402</guid>
      <dc:creator>sloh_splunk</dc:creator>
      <dc:date>2020-08-27T00:39:43Z</dc:date>
    </item>
  </channel>
</rss>

