<?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 How to make a Simple Pie Chart showing the percent on the pie in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-Simple-Pie-Chart-showing-the-percent-on-the-pie/m-p/485499#M135840</link>
    <description>&lt;P&gt;Im trying to create a simple Pie chart from a csv file or indexed data and cant seem to configure the Pie chart correctly. &lt;/P&gt;

&lt;P&gt;the Beer.csv  looks like this&lt;BR /&gt;
Name,Amount&lt;BR /&gt;
BeersDrank,56&lt;BR /&gt;
BeersRemaining,6&lt;BR /&gt;
BeersWasted,12&lt;/P&gt;

&lt;P&gt;| inputlookup Beer.csv | chart Values(Amount) by Name&lt;/P&gt;

&lt;P&gt;this makes a pie chart that seems to allocate the correct proportion but how can i make it write the actual percent on the pie chart and the number for that name?  &lt;/P&gt;

&lt;P&gt;thanks for any help &lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 19:53:32 GMT</pubDate>
    <dc:creator>mikeoks</dc:creator>
    <dc:date>2020-01-20T19:53:32Z</dc:date>
    <item>
      <title>How to make a Simple Pie Chart showing the percent on the pie</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-Simple-Pie-Chart-showing-the-percent-on-the-pie/m-p/485499#M135840</link>
      <description>&lt;P&gt;Im trying to create a simple Pie chart from a csv file or indexed data and cant seem to configure the Pie chart correctly. &lt;/P&gt;

&lt;P&gt;the Beer.csv  looks like this&lt;BR /&gt;
Name,Amount&lt;BR /&gt;
BeersDrank,56&lt;BR /&gt;
BeersRemaining,6&lt;BR /&gt;
BeersWasted,12&lt;/P&gt;

&lt;P&gt;| inputlookup Beer.csv | chart Values(Amount) by Name&lt;/P&gt;

&lt;P&gt;this makes a pie chart that seems to allocate the correct proportion but how can i make it write the actual percent on the pie chart and the number for that name?  &lt;/P&gt;

&lt;P&gt;thanks for any help &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-Simple-Pie-Chart-showing-the-percent-on-the-pie/m-p/485499#M135840</guid>
      <dc:creator>mikeoks</dc:creator>
      <dc:date>2020-01-20T19:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a Simple Pie Chart showing the percent on the pie</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-Simple-Pie-Chart-showing-the-percent-on-the-pie/m-p/485500#M135841</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| inputlookup Beer.csv 
| eventstats sum(Amount) as total
| eval perc = (Amount / total * 100)
| table Name,Amount, total, perc
`comment("if you want,")`
| table perc, Amount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Visualization &amp;gt; Pie Chart&lt;BR /&gt;
Hi, @mikeoks &lt;BR /&gt;
I'm not sure what you want.&lt;BR /&gt;
how about this?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 21:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-Simple-Pie-Chart-showing-the-percent-on-the-pie/m-p/485500#M135841</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-01-20T21:24:55Z</dc:date>
    </item>
  </channel>
</rss>

