<?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: Visual Dashboard using 4 fields in Stats count in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visual-Dashboard-using-4-fields-in-Stats-count/m-p/661077#M54407</link>
    <description>&lt;P&gt;You would do a second stats to roll them up like this ...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=guardium ruleDesc="OS Command Injection"
| stats count by dbUser, DBName, serviceName, sql
| eval category = case(
    count &amp;lt; 6, "1-5",
    count &amp;lt; 11, "6-10",
    count &amp;lt; 16, "11-15",
    1==1, "16+"
)
| stats count by category&lt;/LI-CODE&gt;&lt;P&gt;Then you would set up a drilldown on the chart to pass a token to another search and limit it based on the token..&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 18:07:31 GMT</pubDate>
    <dc:creator>fredclown</dc:creator>
    <dc:date>2023-10-17T18:07:31Z</dc:date>
    <item>
      <title>Visual Dashboard using 4 fields in Stats count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visual-Dashboard-using-4-fields-in-Stats-count/m-p/660902#M54388</link>
      <description>&lt;P&gt;I'm trying to create a visual dashboard&amp;nbsp; (specifically a column graph or bar chart) using&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=guardium ruleDesc="OS Command Injection"&lt;BR /&gt;| stats count by dbUser, DBName, serviceName, sql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the graph I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (47).png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27596i5D3FD9499DFB68AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (47).png" alt="Screenshot (47).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to group these fields into categories on the chart where one part would show count of 1-5 then 6-10...and so on.&amp;nbsp; Then I could drill down a specific bar within the count group to view the fields for that bar in a table format.&amp;nbsp; How would I go about doing this.&amp;nbsp; I am new to splunk and have been stuck finding the best way to represent this data.&amp;nbsp; I was given this search statement and was told to make a visual dashboard of it.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 16:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visual-Dashboard-using-4-fields-in-Stats-count/m-p/660902#M54388</guid>
      <dc:creator>jeish99</dc:creator>
      <dc:date>2023-10-16T16:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Dashboard using 4 fields in Stats count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Visual-Dashboard-using-4-fields-in-Stats-count/m-p/661077#M54407</link>
      <description>&lt;P&gt;You would do a second stats to roll them up like this ...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=guardium ruleDesc="OS Command Injection"
| stats count by dbUser, DBName, serviceName, sql
| eval category = case(
    count &amp;lt; 6, "1-5",
    count &amp;lt; 11, "6-10",
    count &amp;lt; 16, "11-15",
    1==1, "16+"
)
| stats count by category&lt;/LI-CODE&gt;&lt;P&gt;Then you would set up a drilldown on the chart to pass a token to another search and limit it based on the token..&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 18:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Visual-Dashboard-using-4-fields-in-Stats-count/m-p/661077#M54407</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2023-10-17T18:07:31Z</dc:date>
    </item>
  </channel>
</rss>

