<?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 would I display the number of events on a pie chart? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185518#M11455</link>
    <description>&lt;P&gt;So I figured out how to do do this based on a response to another similar question.&lt;/P&gt;

&lt;P&gt;my_search | stats count by signature | eval signature_slice = "Events: " + count + ",  " + signature  | fields signature_slice, count&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:24:52 GMT</pubDate>
    <dc:creator>digital_alchemy</dc:creator>
    <dc:date>2020-09-28T16:24:52Z</dc:date>
    <item>
      <title>How would I display the number of events on a pie chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185515#M11452</link>
      <description>&lt;P&gt;I have a dashboard that displays a weekly summary of detected signatures, but I would like to be able to show the number of events per signature on the chart.  Is this possible?&lt;/P&gt;

&lt;P&gt;Current simple XML:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&lt;BR /&gt;
&amp;lt;dashboard&amp;gt;&lt;BR /&gt;
    &amp;lt;row&amp;gt;&lt;BR /&gt;
        &amp;lt;chart&amp;gt;&lt;BR /&gt;
            &amp;lt;title&amp;gt;AV Detect Report (7 day)&amp;lt;/title&amp;gt;&lt;BR /&gt;
            &amp;lt;searchString&amp;gt; MY_SEARCH &amp;lt;/searchString&amp;gt;&lt;BR /&gt;
           &amp;lt;earliestTime&amp;gt;-7d&amp;lt;/earliestTime&amp;gt;&lt;BR /&gt;
           &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;&lt;BR /&gt;
            &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;&lt;BR /&gt;
        &amp;lt;/chart&amp;gt; &lt;BR /&gt;
     &amp;lt;/row&amp;gt;&lt;BR /&gt;
&amp;lt;/dashboard&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 17:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185515#M11452</guid>
      <dc:creator>digital_alchemy</dc:creator>
      <dc:date>2013-12-19T17:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How would I display the number of events on a pie chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185516#M11453</link>
      <description>&lt;P&gt;In Splunk, you can't without using 3rd party libraries and building your own UI for it.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2013 17:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185516#M11453</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2013-12-19T17:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How would I display the number of events on a pie chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185517#M11454</link>
      <description>&lt;P&gt;You can show the value of the percent such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;
&amp;lt;dashboard&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;chart&amp;gt;
            &amp;lt;title&amp;gt;AV Detect Report (7 day)&amp;lt;/title&amp;gt;
            &amp;lt;searchString&amp;gt; MY_SEARCH &amp;lt;/searchString&amp;gt;
           &amp;lt;earliestTime&amp;gt;-7d&amp;lt;/earliestTime&amp;gt;
           &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
            &amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
            &amp;lt;option name="charting.chart.showPercent"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;/chart&amp;gt; 
     &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Dec 2013 19:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185517#M11454</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2013-12-19T19:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: How would I display the number of events on a pie chart?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185518#M11455</link>
      <description>&lt;P&gt;So I figured out how to do do this based on a response to another similar question.&lt;/P&gt;

&lt;P&gt;my_search | stats count by signature | eval signature_slice = "Events: " + count + ",  " + signature  | fields signature_slice, count&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:24:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-would-I-display-the-number-of-events-on-a-pie-chart/m-p/185518#M11455</guid>
      <dc:creator>digital_alchemy</dc:creator>
      <dc:date>2020-09-28T16:24:52Z</dc:date>
    </item>
  </channel>
</rss>

