<?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 data processing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562617#M100263</link>
    <description>Thank you so much for your advice! I will try according to your suggestion in the near future.</description>
    <pubDate>Mon, 09 Aug 2021 14:42:31 GMT</pubDate>
    <dc:creator>xuehpx</dc:creator>
    <dc:date>2021-08-09T14:42:31Z</dc:date>
    <item>
      <title>Json data processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562339#M100174</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a json format of data, I can not use the following method to process the results I want, when metricValue is a new dictionary, I changed how to extract.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xuehpx_0-1628213089777.png" style="width: 603px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15449iB7464EBA5ABD5F83/image-dimensions/603x189?v=v2" width="603" height="189" role="button" title="xuehpx_0-1628213089777.png" alt="xuehpx_0-1628213089777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;index="huawei_fc" sourcetype="BW_HWFC:metric:host" | rename value{}.* as * | eval t = mvzip(metricId,metricValue) | mvexpand t | eval mId=mvindex(split(t,","),0),mValue=mvindex(split(t,","),1) | stats values(mValue) as mValue by _time,urn,mId&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xuehpx_1-1628213321615.png" style="width: 605px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15450i16996614661E04B8/image-dimensions/605x43?v=v2" width="605" height="43" role="button" title="xuehpx_1-1628213321615.png" alt="xuehpx_1-1628213321615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was unable to extract the data in metricValue from the SPL above&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 01:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562339#M100174</guid>
      <dc:creator>xuehpx</dc:creator>
      <dc:date>2021-08-06T01:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Json data processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562383#M100178</link>
      <description>&lt;P&gt;Try a different delimiter in mvzip and split&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval t = mvzip(metricId,metricValue,"|") | mvexpand t | eval mId=mvindex(split(t,"|"),0),mValue=mvindex(split(t,"|"),1)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562383#M100178</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-08-06T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Json data processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562617#M100263</link>
      <description>Thank you so much for your advice! I will try according to your suggestion in the near future.</description>
      <pubDate>Mon, 09 Aug 2021 14:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Json-data-processing/m-p/562617#M100263</guid>
      <dc:creator>xuehpx</dc:creator>
      <dc:date>2021-08-09T14:42:31Z</dc:date>
    </item>
  </channel>
</rss>

