<?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: Json file is getting truncated while uploading in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495478#M84510</link>
    <description>&lt;P&gt;can you post what you have in your &lt;CODE&gt;props.conf&lt;/CODE&gt; for the &lt;CODE&gt;sourcetype&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 23:49:29 GMT</pubDate>
    <dc:creator>jscraig2006</dc:creator>
    <dc:date>2020-01-24T23:49:29Z</dc:date>
    <item>
      <title>Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495477#M84509</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;
when i upload a json file to splunk, the data is getting truncated and the full data is not being uploaded. Because of this i'm not getting proper answers for the queries. Can anyone please suggest solutions to avoid this problem.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 08:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495477#M84509</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2020-01-24T08:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495478#M84510</link>
      <description>&lt;P&gt;can you post what you have in your &lt;CODE&gt;props.conf&lt;/CODE&gt; for the &lt;CODE&gt;sourcetype&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 23:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495478#M84510</guid>
      <dc:creator>jscraig2006</dc:creator>
      <dc:date>2020-01-24T23:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495479#M84511</link>
      <description>&lt;P&gt;Splunk has a default event size of 10,000 bytes. If your Json object is bigger than this it will be truncated before it is parsed. &lt;/P&gt;

&lt;P&gt;If your Json block is bigger than this you may need to consider specifying the truncate option in props to configure this to account for your data size. &lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 00:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495479#M84511</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-01-25T00:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495480#M84512</link>
      <description>&lt;P&gt;[default]&lt;BR /&gt;
CHARSET = AUTO&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
TRUNCATE = 10000&lt;BR /&gt;
DATETIME_CONFIG = \etc\datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = True&lt;BR /&gt;
BREAK_ONLY_BEFORE = &lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 256&lt;BR /&gt;
MUST_BREAK_AFTER = &lt;BR /&gt;
MUST_NOT_BREAK_AFTER = &lt;BR /&gt;
MUST_NOT_BREAK_BEFORE = &lt;BR /&gt;
TRANSFORMS = &lt;BR /&gt;
SEGMENTATION          = indexing&lt;BR /&gt;
SEGMENTATION-all      = full&lt;BR /&gt;
SEGMENTATION-inner    = inner&lt;BR /&gt;
SEGMENTATION-outer    = outer&lt;BR /&gt;
SEGMENTATION-raw      = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE      = true&lt;BR /&gt;
LEARN_MODEL           = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = auto&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority = &lt;/P&gt;

&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/173253"&gt;@jscraig2006&lt;/a&gt; thanks for answering. This is the first part of the props.conf file.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495480#M84512</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2020-09-30T03:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495481#M84513</link>
      <description>&lt;P&gt;[default]&lt;BR /&gt;
CHARSET = AUTO&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
TRUNCATE = 10000&lt;BR /&gt;
DATETIME_CONFIG = \etc\datetime.xml&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
SHOULD_LINEMERGE = True&lt;BR /&gt;
BREAK_ONLY_BEFORE =&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
MAX_EVENTS = 256&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
SEGMENTATION = indexing&lt;BR /&gt;
SEGMENTATION-all = full&lt;BR /&gt;
SEGMENTATION-inner = inner&lt;BR /&gt;
SEGMENTATION-outer = outer&lt;BR /&gt;
SEGMENTATION-raw = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
LEARN_SOURCETYPE = true&lt;BR /&gt;
LEARN_MODEL = true&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
detect_trailing_nulls = auto&lt;BR /&gt;
sourcetype =&lt;BR /&gt;
priority = &lt;/P&gt;

&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/23295"&gt;@nickhills&lt;/a&gt; &lt;BR /&gt;
I have changed TRUNCATE to 999999 and MAX_EVENTS to 500 but still the data is getting truncated. What will be the problem?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495481#M84513</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2020-09-30T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495482#M84514</link>
      <description>&lt;P&gt;Hi @anooshac,&lt;BR /&gt;
For large JSON events, i tend to use &lt;CODE&gt;TRUNCATE=0&lt;/CODE&gt; to disable truncation. Try that out.&lt;BR /&gt;
~John&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:07:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495482#M84514</guid>
      <dc:creator>jscraig2006</dc:creator>
      <dc:date>2020-01-28T16:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Json file is getting truncated while uploading</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495483#M84515</link>
      <description>&lt;P&gt;Hi @jscraig2006, thank you for the response. I changed TRUNCATE to 999999 and restarted the system. The problem got solved now!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 05:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-is-getting-truncated-while-uploading/m-p/495483#M84515</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2020-01-29T05:33:45Z</dc:date>
    </item>
  </channel>
</rss>

