<?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: how to extract extract wildcard key name in nested json in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575773#M200634</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;If I do table, how to not show on chart xx_1, xx_2 and xx_3, rather show 1, 2 and 3&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename message.deploy.Y.A.* as *
| table _time *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Nov 2021 02:31:19 GMT</pubDate>
    <dc:creator>yuanliu</dc:creator>
    <dc:date>2021-11-21T02:31:19Z</dc:date>
    <item>
      <title>how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/573407#M199820</link>
      <description>&lt;P&gt;Sample JSON&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{ 
   message: { 
     application: hello
     deploy: { 
       X: { 
         A: { 
           QPY: 14814
         }
       }
       Y: { 
         A: { 
           BWQ: 10967
           MQP: 1106
         }
       }
     }
     ABC: 4020
     DEF: 1532
   }
   severity: info
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to extract key names and values under message.deploy.Y.A (key names are not static)&lt;BR /&gt;Goal is to put them in a line chart and track values over time.&lt;BR /&gt;&lt;BR /&gt;tried foreach but don't know how to use eval. Can someone help please&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;| foreach message.deploy.Y.A.*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 22:36:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/573407#M199820</guid>
      <dc:creator>crazymonkey</dc:creator>
      <dc:date>2021-11-02T22:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/573425#M199826</link>
      <description>&lt;P&gt;Does this work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename message.deploy.Y.A.* as XX_*
| fields _time XX_*
| timechart fixedrange=f max(XX_*) as *&lt;/LI-CODE&gt;&lt;P&gt;i.e. it takes all the Y.A fields and renames them to XX_* and gets rid of all other fields other than those and time. Then plots max value over time of the XX_ values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 03:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/573425#M199826</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-11-03T03:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575702#M200597</link>
      <description>&lt;P&gt;thank you, that works but don't wan't max for the day.&lt;BR /&gt;If I do table, how to not show on chart xx_1, xx_2 and xx_3, rather show 1, 2 and 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename message.deploy.Y.A.* as xx_*
| table _time xx_*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 18:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575702#M200597</guid>
      <dc:creator>crazymonkey2</dc:creator>
      <dc:date>2021-11-19T18:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575773#M200634</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;If I do table, how to not show on chart xx_1, xx_2 and xx_3, rather show 1, 2 and 3&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have you tried&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename message.deploy.Y.A.* as *
| table _time *&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 02:31:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575773#M200634</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2021-11-21T02:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575799#M200649</link>
      <description>&lt;P&gt;Just add&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rename xx_* as *&lt;/LI-CODE&gt;&lt;P&gt;which is basically what the timechart max(XX_*) as *, i.e. the implicit rename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 21:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/575799#M200649</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-11-21T21:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/576104#M200769</link>
      <description>&lt;P&gt;I tried that, table shows contents of nested json that don't match&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;message.deploy.Y.A&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 22:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/576104#M200769</guid>
      <dc:creator>crazymonkey2</dc:creator>
      <dc:date>2021-11-23T22:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract extract wildcard key name in nested json</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/576214#M200811</link>
      <description>&lt;P&gt;I figured it out&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 16:25:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-extract-extract-wildcard-key-name-in-nested-json/m-p/576214#M200811</guid>
      <dc:creator>crazymonkey2</dc:creator>
      <dc:date>2021-11-24T16:25:48Z</dc:date>
    </item>
  </channel>
</rss>

