<?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: Why is Splunk not showing full JSON data on search? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334849#M61927</link>
    <description>&lt;P&gt;You may also want some timestamping settings included as well. TIME_PREFIX, MAX_TIMESTAMP_LOOKAHEAD, and TIME_FORMAT may be something that is useful to set. Please let me know if you have any questions on these!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:50:55 GMT</pubDate>
    <dc:creator>mdsnmss</dc:creator>
    <dc:date>2020-09-29T17:50:55Z</dc:date>
    <item>
      <title>Why is Splunk not showing full JSON data on search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334847#M61925</link>
      <description>&lt;P&gt;I have a json file that contains 2000+ lines of data, it looks somewhat like this -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[
  {
    "line": 2,
    "elements": [
      {
        "before": [
          {
            "result": {
              "duration": 6692500639,
              "status": "passed"
            },
            "match": {
              "location": "some_value"
            }
          },
          {
            "result": {
              "duration": 112646517,
              "status": "passed"
            },
            "match": {
              "location": "some_value"
            }
          }
        ],
        "line": 21,
        "name": "random_name",
        "description": "",
        "id": "random_id",
        "after": [
          {
            "result": {
              "duration": 2054619875,
              "status": "passed"
            },
            "match": {
              "location": "some_value"
            }
          }
        ],
        "type": "scenario",
        "keyword": "Scenario Outline",
        "steps": [
          {
            "result": {
              "duration": 3627081999,
              "status": "passed"
            },
            "line": 5,
            "name": "random_name",
            "match": {
              "location": "some_value"
            },
            "keyword": "Given "
          },
          {
            "result": {
              "duration": 126013564303,
              "error_message": ""... more than 250 lines of stack trace over here ..."",
              "status": "failed"
            },
            "line": 9,
            "name": "random_name",
            "match": {
              "location": "some_value"
            },
            "keyword": "some_key"
          }
          }
-------- some more similar lines here ----------
        ],
        "tags": [
          {
            "line": 1,
            "name": "test_name"
          },
          {
            "line": 1,
            "name": "test_name"
          }
        ]
      }
    ],
    "name": "random_name",
    "description": "",
    "id": "random_id",
    "keyword": "Feature",
    "uri": "random_uri",
    "tags": [
      {
        "line": 1,
        "name": "test_name"
      },
      {
        "line": 1,
        "name": "test_name"
      }
    ]
  }
]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Howevere splunk is only showing the first 108 lines from the file and not the whole&lt;BR /&gt;
The SPL I used is - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="test" host="localhost" sourcetype="json_data"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The location json file is on the indexer as well as on the forwarder. but nothing works.&lt;/P&gt;

&lt;P&gt;Here are my configs for props.conf -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[json_data]
SHOULD_LINEMERGE = true
MUST_BREAK_AFTER = ]
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = json
KV_MODE = none
TRUNCATE = 0
NO_BINARY_CHECK = true
CHARSET = UTF-8
category = Structured
description = JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="test_blank"&gt;http://json.org/&lt;/A&gt;
disabled = false
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and what splunk displays -&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4240i4E45F720FBC44C05/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Can someone please help.&lt;BR /&gt;
Thanks!&lt;/P&gt;

&lt;P&gt;If you need any other info please comment.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 15:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334847#M61925</guid>
      <dc:creator>sdawsonkg</dc:creator>
      <dc:date>2018-01-25T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing full JSON data on search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334848#M61926</link>
      <description>&lt;P&gt;Based on your sample JSON I think the issue is with your linebreaking. Your configuration is to linebreak after "]". There are those brackets within the inside of your event already so that isn't something that necessarily dictates being the end of the event. Is there a definitive pattern that shows up near the end of your event every time? Or is this just a single JSON event you are trying to ingest? If it is just a single event you can likely leave MUST_BREAK_AFTER empty as it defaults to empty.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:50:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334848#M61926</guid>
      <dc:creator>mdsnmss</dc:creator>
      <dc:date>2020-09-29T17:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing full JSON data on search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334849#M61927</link>
      <description>&lt;P&gt;You may also want some timestamping settings included as well. TIME_PREFIX, MAX_TIMESTAMP_LOOKAHEAD, and TIME_FORMAT may be something that is useful to set. Please let me know if you have any questions on these!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:50:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334849#M61927</guid>
      <dc:creator>mdsnmss</dc:creator>
      <dc:date>2020-09-29T17:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk not showing full JSON data on search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334850#M61928</link>
      <description>&lt;P&gt;initially I kept the MUST_BREAK_AFTER as blank. Still it did not show the full data.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:51:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-not-showing-full-JSON-data-on-search/m-p/334850#M61928</guid>
      <dc:creator>sdawsonkg</dc:creator>
      <dc:date>2020-09-29T17:51:20Z</dc:date>
    </item>
  </channel>
</rss>

