<?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: Extract nested json in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496238#M84652</link>
    <description>&lt;P&gt;Fantastic!  Thank you so much!!!!!&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 13:10:17 GMT</pubDate>
    <dc:creator>ch1221</dc:creator>
    <dc:date>2020-05-12T13:10:17Z</dc:date>
    <item>
      <title>Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496227#M84641</link>
      <description>&lt;P&gt;Looking for some assistance extracting all of the nested json values like the "results", "tags" and "iocs" in the screenshot.  I've been trying to get spath and mvexpand to work for days but apparently I am not doing something right.  Any help is appreciated.&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/8883i1F493AE22FC5D318/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 20:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496227#M84641</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-05-11T20:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496228#M84642</link>
      <description>&lt;P&gt;your JSON can't be extracted using &lt;CODE&gt;spath&lt;/CODE&gt; and &lt;CODE&gt;mvexpand&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;This Only can be extracted from &lt;CODE&gt;_raw&lt;/CODE&gt;, not &lt;CODE&gt;Show syntax highlighted&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 22:03:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496228#M84642</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-11T22:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496229#M84643</link>
      <description>&lt;P&gt;if you run the search and then table it does it show as being parsed into its own columns as that might give you what you need. &lt;/P&gt;

&lt;P&gt;Otherwise you may need to regex the data first if spath or mvexpand could not be used.&lt;/P&gt;

&lt;P&gt;Also can you provide the output what is happening after you try with your search so we can try and work out a solution? &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496229#M84643</guid>
      <dc:creator>Sfry1981</dc:creator>
      <dc:date>2020-05-12T08:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496230#M84644</link>
      <description>&lt;P&gt;click &lt;STRONG&gt;Show as raw text&lt;/STRONG&gt; in events&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 08:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496230#M84644</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-12T08:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496231#M84645</link>
      <description>&lt;P&gt;{  "start": 0,  "terms": [    "feed_id:14"  ],  "highlights": [],  "total_results": 103,  "filtered": {},  "facets": {},  "results": [    {      "ipv4_count": 0,      "description": "description of event",      "tags": [        "threathunting",        "hunting",        "t1033",        "discovery",        "recon",        "windows"      ],      "feed_id": 14,      "timestamp": 1552664393,      "feed_category": "xxx",      "sha256_count": 0,      "create_time": 1552664393,      "link": "hxxps://xxx.xxx",      "id": "565616",      "query_count": 1,      "is_deleted": false,      "title": "test",      "has_query": true,      "iocs": {        "query": [          {            "index_type": "events",            "search_query": "test query"          }        ]      },      "is_ignored": false,      "feed_name": "test feed",      "md5_count": 0,      "score": 65,      "ipv6_count": 0,      "domain_count": 0    },      ],  "elapsed": 0.013309955596923828}&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496231#M84645</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-09-30T05:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496232#M84646</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;your search
| rex "results\":\s(?&amp;lt;results&amp;gt;\[.*\])"
| spath
| fields - _* results{}.* 
| stats values(*) as * by results
| spath input=results {} output=results
| stats values(*) as * by results
| spath input=results
| fields - results
| eval tags=mvjoin('tags{}',",")
| fields - tags{} source sourcetype splunk_server punct date_* host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your sample. how about this?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 12:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496232#M84646</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-12T12:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496233#M84647</link>
      <description>&lt;P&gt;That doesn't work. It returns 6 events (based on the tags it appears) with all of the other values identical.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 12:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496233#M84647</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-05-12T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496234#M84648</link>
      <description>&lt;P&gt;The raw results that I provided was a sample of 103+ results which is too much to post.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 12:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496234#M84648</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-05-12T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496235#M84649</link>
      <description>&lt;P&gt;Put it up on another site temporarily and let me know the link.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 12:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496235#M84649</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-12T12:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496236#M84650</link>
      <description>&lt;P&gt;&lt;A href="https://www.dropbox.com/s/hjs4ez36y8g622q/cbfeeds.txt?dl=0"&gt;https://www.dropbox.com/s/hjs4ez36y8g622q/cbfeeds.txt?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 12:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496236#M84650</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-05-12T12:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496237#M84651</link>
      <description>&lt;P&gt;I see, my answer is updated.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 13:06:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496237#M84651</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-05-12T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extract nested json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496238#M84652</link>
      <description>&lt;P&gt;Fantastic!  Thank you so much!!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 13:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extract-nested-json/m-p/496238#M84652</guid>
      <dc:creator>ch1221</dc:creator>
      <dc:date>2020-05-12T13:10:17Z</dc:date>
    </item>
  </channel>
</rss>

