It can be done, for example you query is stats count(xxx) as Total by yyy |eval yyy=yyy."-".Total . I used the same it worked for me. Though the count is displayed outside the chart not inside. but it works.
Using a pie chart graphic -This worked for me...so very cool!
Numbers are showing up per slice.
Following is the query code.
|stats count(ACTION) as Totals by ACTION
eval ACTION=ACTION."=".Total
I used http://answers.splunk.com/answers/154860/how-to-aggregate-percentage-information-in-pie-chart-labels... that works like a charm
<option name="charting.chart.showPercent">true</option>
Even my counts from the result are converted in %, nice!
that works and details are here?
http://docs.splunk.com/Documentation/Splunk/7.0.3/Viz/ChartConfigurationReference#Pie_charts
slightly related, you would think you could should the actual values and not the percentages but it appears not to be the case. But it can be done as a gauge charting.chart.showValue
At the following Link you will find all possible options for charts.
http://docs.splunk.com/Documentation/Splunk/5.0.3/Viz/CustomChartingConfig-chartlegend
Unfortunatelly there is no option for showing the count.
But with the following "trick" you can include it manually:
... | stats count by foobar | eval foobar_slice = count + " " + foobar | fields foobar_slice, count
Thanks. This query answered my question.
Thanks. I was also facing same issue and above suggestion solved it.
perfect for this problem, used it and got exact result what I was also looking for
did u find out a way madanashok?
me too searching on this
So there is no way to get it right.
Is that no way to get it.Please some one pick it and tell me whether possible or not.
Thanks