<?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 getting truncated in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351141#M64435</link>
    <description>&lt;P&gt;Try this for your props.conf (on indexer/heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dynamoout]
TRUNCATE = 0
KV_MODE = json
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]*)(?=\{)
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dynamoout]
TRUNCATE = 0
KV_MODE = json
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
INDEXED_EXTRACTIONS = json
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Sep 2017 02:35:23 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-09-20T02:35:23Z</dc:date>
    <item>
      <title>Json file getting truncated</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351140#M64434</link>
      <description>&lt;P&gt;Below is my i/p file&lt;BR /&gt;
{&lt;BR /&gt;
    "Count": 2,&lt;BR /&gt;
    "Items": [&lt;BR /&gt;
        {&lt;BR /&gt;
            "total_time": {&lt;BR /&gt;
                "S": "0.000s"&lt;BR /&gt;
            },&lt;BR /&gt;
            "start_date_time": {&lt;BR /&gt;
                "S": "2017-09-19 05:00:43"&lt;BR /&gt;
            },&lt;BR /&gt;
            "bad_records": {&lt;BR /&gt;
                "N": "0"&lt;BR /&gt;
            },&lt;BR /&gt;
            "successful_records": {&lt;BR /&gt;
                "N": "0"&lt;BR /&gt;
            },&lt;BR /&gt;
            "source": {&lt;BR /&gt;
                "S": "mps_dnc"&lt;BR /&gt;
            },&lt;BR /&gt;
            "end_date_time": {&lt;BR /&gt;
                "S": "2017-09-19 05:00:43"&lt;BR /&gt;
            },&lt;BR /&gt;
            "file_name": {&lt;BR /&gt;
                "S": "No File"&lt;BR /&gt;
            },&lt;BR /&gt;
            "total_records": {&lt;BR /&gt;
                "N": "0"&lt;BR /&gt;
            },&lt;BR /&gt;
            "job_name": {&lt;BR /&gt;
                "S": "mps_dnc_out"&lt;BR /&gt;
            }&lt;BR /&gt;
        },&lt;BR /&gt;
        {&lt;BR /&gt;
            "total_time": {&lt;BR /&gt;
                "S": "12.783s"&lt;BR /&gt;
            },&lt;BR /&gt;
            "start_date_time": {&lt;BR /&gt;
                "S": "2017-09-19 11:42:21"&lt;BR /&gt;
            },&lt;BR /&gt;
            "bad_records": {&lt;BR /&gt;
                "N": "0"&lt;BR /&gt;
            },&lt;BR /&gt;
            "successful_records": {&lt;BR /&gt;
                "N": "12094"&lt;BR /&gt;
            },&lt;BR /&gt;
            "source": {&lt;BR /&gt;
                "S": "mps_dnc"&lt;BR /&gt;
            },&lt;BR /&gt;
            "end_date_time": {&lt;BR /&gt;
                "S": "2017-09-19 11:42:34"&lt;BR /&gt;
            },&lt;BR /&gt;
            "file_name": {&lt;BR /&gt;
                "S": "do_not_contact_list_2017-09-19T11_42_20.581Z.txt"&lt;BR /&gt;
            },&lt;BR /&gt;
            "total_records": {&lt;BR /&gt;
                "N": "12094"&lt;BR /&gt;
            },&lt;BR /&gt;
            "job_name": {&lt;BR /&gt;
                "S": "mps_dnc_out"&lt;BR /&gt;
            }&lt;BR /&gt;
        }&lt;BR /&gt;
    ],&lt;BR /&gt;
    "ScannedCount": 2,&lt;BR /&gt;
    "ConsumedCapacity": null&lt;BR /&gt;
}&lt;/P&gt;

&lt;P&gt;Below is my probs.conf and limit .conf &lt;BR /&gt;
[spath]&lt;/P&gt;

&lt;H1&gt;number of characters to read from an XML or JSON event when auto extracting&lt;/H1&gt;

&lt;P&gt;extraction_cutoff = 10000&lt;/P&gt;

&lt;H1&gt;cat props.conf&lt;/H1&gt;

&lt;P&gt;[dynamoout]&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
KV_MODE = json&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
LINE_BREAKER = ([\r\n]*)&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;/P&gt;

&lt;P&gt;[source::/script_logs_mps/&lt;EM&gt;.&lt;/EM&gt;]&lt;BR /&gt;
CHECK_METHOD=entire_md5&lt;/P&gt;

&lt;P&gt;Still on splunk i can see only 8 lines.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:53:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351140#M64434</guid>
      <dc:creator>dpatiladobe</dc:creator>
      <dc:date>2020-09-29T15:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Json file getting truncated</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351141#M64435</link>
      <description>&lt;P&gt;Try this for your props.conf (on indexer/heavy forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dynamoout]
TRUNCATE = 0
KV_MODE = json
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]*)(?=\{)
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dynamoout]
TRUNCATE = 0
KV_MODE = json
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
INDEXED_EXTRACTIONS = json
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Sep 2017 02:35:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351141#M64435</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-09-20T02:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Json file getting truncated</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351142#M64436</link>
      <description>&lt;P&gt;With below setting i can see the json extract working fine &lt;BR /&gt;
I tried same yesterday but did not worked It is working today. Thanks for your help.&lt;BR /&gt;
 [dynamoout]&lt;BR /&gt;
 TRUNCATE = 0&lt;BR /&gt;
 KV_MODE = json&lt;BR /&gt;
 NO_BINARY_CHECK = true&lt;BR /&gt;
 SHOULD_LINEMERGE = false&lt;BR /&gt;
 INDEXED_EXTRACTIONS = json&lt;BR /&gt;
 DATETIME_CONFIG = CURRENT&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-file-getting-truncated/m-p/351142#M64436</guid>
      <dc:creator>dpatiladobe</dc:creator>
      <dc:date>2020-09-29T15:53:50Z</dc:date>
    </item>
  </channel>
</rss>

