<?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: Stats for Values and count - Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Stats-for-Values-and-count-Dashboard/m-p/561571#M46171</link>
    <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath path=kubernetes.pod_name output=pod_name
| spath path=traceId
| stats count by pod_name traceId
| stats count as number_of_traces by pod_name&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 30 Jul 2021 22:55:09 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-07-30T22:55:09Z</dc:date>
    <item>
      <title>Stats for Values and count - Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Stats-for-Values-and-count-Dashboard/m-p/561570#M46170</link>
      <description>&lt;P&gt;Below are the events:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"kubernetes" : {
	"pod_name" : "p1"
	},
	traceId: "t-1"
}

{
	"kubernetes" : {
	"pod_name" : "p1"
	},
	traceId: "t-2"
}

{
	"kubernetes" : {
	"pod_name" : "p2"
	},
	traceId: "t-4"
}

{
	"kubernetes" : {
	"pod_name" : "p3"
	},
	traceId: "t-5"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a dashboard with 2 panels.&lt;/P&gt;&lt;P&gt;1. Showing the unique # of pods&lt;BR /&gt;2. Table with Pod Name, # of Number of unique traces&lt;/P&gt;&lt;P&gt;For the above event, panels will be&lt;/P&gt;&lt;P&gt;1. Showing the unique # of pods = &lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Table with Pod Name, # of Number of unique traces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   ----------------------------------
   | POD NAME   |  # of Traces      |
   ----------------------------------
   | p1         |  2                |
   ----------------------------------
   | p2         |  1                |
   ----------------------------------
   | p3         |  1                |
   ----------------------------------&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 21:39:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Stats-for-Values-and-count-Dashboard/m-p/561570#M46170</guid>
      <dc:creator>rangarbus</dc:creator>
      <dc:date>2021-07-30T21:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stats for Values and count - Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Stats-for-Values-and-count-Dashboard/m-p/561571#M46171</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath path=kubernetes.pod_name output=pod_name
| spath path=traceId
| stats count by pod_name traceId
| stats count as number_of_traces by pod_name&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 30 Jul 2021 22:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Stats-for-Values-and-count-Dashboard/m-p/561571#M46171</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-30T22:55:09Z</dc:date>
    </item>
  </channel>
</rss>

