<?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 Display JSON as list, not table in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/508950#M86573</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create some test data which contains some JSON embedded in it. I'm then trying to extract the JSON and display it, which is working with the following search string:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval _raw="018-07-13 05:48:30.343 PDT [pool-3-thread-3]  INFO STATUS - {\"well_formed_json\": \"yes\"}"
| rex field=_raw "INFO STATUS - (?&amp;lt;json&amp;gt;.*)"| rename json as _raw&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the results are displayed in a table. I'd like the results to be displayed in a list view with with color-coding,&amp;nbsp; nested levels, etc.&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 01:33:24 GMT</pubDate>
    <dc:creator>DavidB</dc:creator>
    <dc:date>2020-07-14T01:33:24Z</dc:date>
    <item>
      <title>Display JSON as list, not table</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/508950#M86573</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create some test data which contains some JSON embedded in it. I'm then trying to extract the JSON and display it, which is working with the following search string:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval _raw="018-07-13 05:48:30.343 PDT [pool-3-thread-3]  INFO STATUS - {\"well_formed_json\": \"yes\"}"
| rex field=_raw "INFO STATUS - (?&amp;lt;json&amp;gt;.*)"| rename json as _raw&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the results are displayed in a table. I'd like the results to be displayed in a list view with with color-coding,&amp;nbsp; nested levels, etc.&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 01:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/508950#M86573</guid>
      <dc:creator>DavidB</dc:creator>
      <dc:date>2020-07-14T01:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display JSON as list, not table</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509148#M86597</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Is this what you are looking?&lt;/P&gt;&lt;PRE&gt;| makeresults &lt;BR /&gt;| eval _raw="018-07-13 05:48:30.343 PDT [pool-3-thread-3]  INFO STATUS - {\"well_formed_json\": \"yes\"}" | &lt;SPAN&gt;rex field=_raw "INFO STATUS - (?&amp;lt;json&amp;gt;.*)"| rex mode=sed "s/\\\//g" | spath input=json&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;R. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 22:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509148#M86597</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-14T22:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display JSON as list, not table</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509152#M86598</link>
      <description>&lt;P&gt;Hi Soutamo,&lt;/P&gt;&lt;P&gt;Thanks for the reply. Unfortunately that's not what I'm looking for. The results are still displayed in a table view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for the output to look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="json.PNG" style="width: 402px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9694iA8DF474E29C3F1D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="json.PNG" alt="json.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 23:26:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509152#M86598</guid>
      <dc:creator>DavidB</dc:creator>
      <dc:date>2020-07-14T23:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display JSON as list, not table</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509155#M86599</link>
      <description>&lt;P&gt;The view you are showing is Splunk's raw event view - your example does not have an event as such, as it's constructed with makeresults and I don't believe you can leverage the event view without a real event&lt;/P&gt;&lt;P&gt;It is possible with real events inside a dashboard with the event visualisation, but I don't believe it's possible with constructed data - or for that matter with data from a lookup with inputlookup as that does not generate true events.&lt;/P&gt;&lt;P&gt;If you really needed this, I suspect you could construct your test data, then 'collect' it to an index and then search it with another search from that index.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 00:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Display-JSON-as-list-not-table/m-p/509155#M86599</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-07-15T00:31:12Z</dc:date>
    </item>
  </channel>
</rss>

