<?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: what is the alternative command to use for mvzip? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699356#M57337</link>
    <description>&lt;P&gt;Perhaps if you can isolate the event or events which are generating the error, you might be able to determine this. However, my guess is that sometimes you end up with one or more nulls from the rex and this is what mvzip doesn't like.&lt;/P&gt;&lt;P&gt;Doing it this way around avoids using mvzip because the mvexpand is done before the fields are split up so the association across the row is maintained and doesn't need to be rebuilt with the mvzip&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 06:47:29 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-09-18T06:47:29Z</dc:date>
    <item>
      <title>what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699242#M57326</link>
      <description>&lt;P&gt;Hi All, i am using mvzip while working with JSON file. Now in the new Splunk dashboards seems like mvzip command is depricated. Is there any way to extract values from nested JSON apart from mvzip?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 06:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699242#M57326</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2024-09-17T06:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699252#M57327</link>
      <description>&lt;P&gt;What do you mean by "&lt;SPAN&gt;seems like mvzip command is depricated"? Are you getting an error message? How are you trying to use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you don't want to or can't use the mvzip command, a replacement would depend on what it is you are trying to do. Please can you expand on your usecase, with sample events, a description (in non-SPL terms) of what you are trying to achieve, and a representation of your desired output.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 08:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699252#M57327</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-17T08:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699257#M57328</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; ResourceInfo: {
     ID: "58",
     User: "abc",
     NVM: { 
       a: "522523632",
       b: "80000000",
       c: "442523632",
       d: "14",
       .
       .

     },
     RAM: { [+]
     },
     ROM: { [+]
     }
     }&lt;/LI-CODE&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;&lt;P&gt;and for RAM ROM and NVM i want to get the specific data inside them.&lt;/P&gt;&lt;P&gt;component&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 522523632&lt;BR /&gt;b &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 80000000&lt;BR /&gt;c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 442523632&lt;BR /&gt;d &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 14 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I want to form a table like this for RAM ROM and NVM. And i do it like this. But sometimes i get a error message like field tmp does not exist, even there is data. So i want to avoid mvzip and get this data in some other way. is there way present to deal with JSON data?&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;| spath output=RAM ResourceInfo.RAM
| rex field=RAM max_match=0 "\"(?&amp;lt;component&amp;gt;[^\"]+)\":(?&amp;lt;Value&amp;gt;[\d\.]+)"
| eval tmp = mvzip(component,Value) 
| mvexpand tmp 
| eval component=mvindex(split(tmp,","),0) 
| eval Value=mvindex(split(tmp,","),1)
|table component Value&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 09:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699257#M57328</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2024-09-17T09:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699267#M57331</link>
      <description>&lt;P&gt;Try it this way around&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath output=RAM ResourceInfo.RAM
| rex field=RAM max_match=0 "\"(?&amp;lt;tmp&amp;gt;[^\"]+\":[\d\.]+)"
| mvexpand tmp 
| rex field=tmp "(?&amp;lt;component&amp;gt;[^\"]+)\":(?&amp;lt;Value&amp;gt;[\d\.]+)"
| table component Value&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:02:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699267#M57331</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-17T10:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699350#M57336</link>
      <description>&lt;P&gt;This solution is working and im not seeing any warning message now.&lt;/P&gt;&lt;P&gt;How is this different from mvzip?&lt;/P&gt;&lt;P&gt;May i know why mvzip gives warning if the data is empty?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 04:43:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699350#M57336</guid>
      <dc:creator>anooshac</dc:creator>
      <dc:date>2024-09-18T04:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: what is the alternative command to use for mvzip?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699356#M57337</link>
      <description>&lt;P&gt;Perhaps if you can isolate the event or events which are generating the error, you might be able to determine this. However, my guess is that sometimes you end up with one or more nulls from the rex and this is what mvzip doesn't like.&lt;/P&gt;&lt;P&gt;Doing it this way around avoids using mvzip because the mvexpand is done before the fields are split up so the association across the row is maintained and doesn't need to be rebuilt with the mvzip&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 06:47:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/what-is-the-alternative-command-to-use-for-mvzip/m-p/699356#M57337</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-18T06:47:29Z</dc:date>
    </item>
  </channel>
</rss>

