<?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 Json parsing in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577615#M47335</link>
    <description>&lt;P&gt;Hello ,&lt;BR /&gt;I realy hope you can help me !! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I have a json from API request (dynatrace).&lt;BR /&gt;&lt;BR /&gt;I would like to have the value agent version for each host&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i do this ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My command :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;***index="dynatrace_hp" "agentVersion.major"="*" "agentVersion.major"="*" "agentVersion.minor"="*" esxiHostName="*" | stats values(esxiHostName, ) values(agentVersion.minor)***&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inkedtempsnip_LI.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17137i29AFFB8AB5F5CD1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inkedtempsnip_LI.jpg" alt="Inkedtempsnip_LI.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Thx for you Help&amp;nbsp; !!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 13:27:58 GMT</pubDate>
    <dc:creator>incoghnito_1</dc:creator>
    <dc:date>2021-12-07T13:27:58Z</dc:date>
    <item>
      <title>Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577615#M47335</link>
      <description>&lt;P&gt;Hello ,&lt;BR /&gt;I realy hope you can help me !! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I have a json from API request (dynatrace).&lt;BR /&gt;&lt;BR /&gt;I would like to have the value agent version for each host&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i do this ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My command :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;***index="dynatrace_hp" "agentVersion.major"="*" "agentVersion.major"="*" "agentVersion.minor"="*" esxiHostName="*" | stats values(esxiHostName, ) values(agentVersion.minor)***&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inkedtempsnip_LI.jpg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17137i29AFFB8AB5F5CD1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Inkedtempsnip_LI.jpg" alt="Inkedtempsnip_LI.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Thx for you Help&amp;nbsp; !!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577615#M47335</guid>
      <dc:creator>incoghnito_1</dc:creator>
      <dc:date>2021-12-07T13:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577618#M47336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241272"&gt;@incoghnito_1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: have you problems in field extractions or in the stats command?&lt;/P&gt;&lt;P&gt;in other words, if you run the main search (without the stats command), have you the fields to use in the stats command or not?&lt;/P&gt;&lt;P&gt;if not you could use the "spath" command or a regex to exctract the needed fields fields.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577618#M47336</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-12-07T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577619#M47337</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241272"&gt;@incoghnito_1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the below SPL command&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index="dynatrace_hp" "agentVersion.major"="*" "agentVersion.major"="*" "agentVersion.minor"="*" esxiHostName="*" | stats&amp;nbsp; values(agentVersion.minor) by&amp;nbsp;esxiHostName&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577619#M47337</guid>
      <dc:creator>Vardhan</dc:creator>
      <dc:date>2021-12-07T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577623#M47338</link>
      <description>&lt;P&gt;thx for your help !&amp;nbsp;&lt;BR /&gt;I have difficulty having the agents version for each hosts I am looking for the command to do this&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577623#M47338</guid>
      <dc:creator>incoghnito_1</dc:creator>
      <dc:date>2021-12-07T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577647#M47339</link>
      <description>&lt;P&gt;works thx you very much have a good day !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 15:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577647#M47339</guid>
      <dc:creator>incoghnito_1</dc:creator>
      <dc:date>2021-12-07T15:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Json parsing</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577649#M47340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241272"&gt;@incoghnito_1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 15:15:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Json-parsing/m-p/577649#M47340</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-12-07T15:15:26Z</dc:date>
    </item>
  </channel>
</rss>

