<?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: Displaying count as label in pie graph in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64668#M3392</link>
    <description>&lt;P&gt;your suggestion worked perfectly well. Thanks a ton.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2013 18:04:40 GMT</pubDate>
    <dc:creator>anusuya_k</dc:creator>
    <dc:date>2013-06-20T18:04:40Z</dc:date>
    <item>
      <title>Displaying count as label in pie graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64665#M3389</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
  I have a pie graph which shows slices based on the count in each category. On splunk interface, I can see the actual count on each slice using tooltip. But when I export to a pdf, tooltip option will not be available, so counts are not visible.&lt;/P&gt;

&lt;P&gt;Is there any way to display count on pie chart slices as labels? I have tried a few suggestions seen in the forum like using layout sprite etc, but none of them worked.&lt;/P&gt;

&lt;P&gt;Please let me know whether it is possible at all to do this in splunk, and if so how to do it.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jun 2013 11:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64665#M3389</guid>
      <dc:creator>anusuya_k</dc:creator>
      <dc:date>2013-06-15T11:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying count as label in pie graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64666#M3390</link>
      <description>&lt;P&gt;I'm not sure if that's possible with the built-in pie graph but this sweet app might be what you're looking for: &lt;A href="http://splunk-base.splunk.com/apps/56187/donut-charts"&gt;http://splunk-base.splunk.com/apps/56187/donut-charts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2013 15:15:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64666#M3390</guid>
      <dc:creator>clymbouris</dc:creator>
      <dc:date>2013-06-16T15:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying count as label in pie graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64667#M3391</link>
      <description>&lt;P&gt;You can alter the given label after the chart has been rendered. For example, if you had a search that produces a simple count using top:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; * earliest=-15m | top sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That may produce a pie chart like this one:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Untitled405.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Understand that your label is derived from column 1 or the "sourcetype" field. After the table has been generated, modify column 1 to include the count.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval sourcetype=sourcetype." count:".count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That will render something like this:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Untitled406.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;All together your search would look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* earliest=-15m | top sourcetype | eval sourcetype=sourcetype." count:".count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;gc&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2013 19:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64667#M3391</guid>
      <dc:creator>Gilberto_Castil</dc:creator>
      <dc:date>2013-06-16T19:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying count as label in pie graph</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64668#M3392</link>
      <description>&lt;P&gt;your suggestion worked perfectly well. Thanks a ton.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Displaying-count-as-label-in-pie-graph/m-p/64668#M3392</guid>
      <dc:creator>anusuya_k</dc:creator>
      <dc:date>2013-06-20T18:04:40Z</dc:date>
    </item>
  </channel>
</rss>

