Dashboards & Visualizations

How can I show all values in a pie chart instead of some values being consolidated into "other"?

sivapuvvada
Path Finder

I tried useother=f, it is removing the other values from the Pie chart, but I need all the values in the pie chart instead of removing some.

0 Karma

LMaher1
New Member

you will have to expand the limit of the output meaning:
userother=f
(it will not consolidate any values into other)

then

limit=10
(in this case if the output normally yields 15 line it will omit the extra 5 from the output, and since you are using "useother=f" they won't be added to other)

0 Karma

jay01810
Engager

Edit Panels and change the attribute "size",it will be OK.

https://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/PieChart

0 Karma

chimell
Motivator

Hi

try something like this

index="price" |chart limit=0 count by productId , product_name
0 Karma

sundareshr
Legend

Add a limit=0 to your chart command

0 Karma

sivapuvvada
Path Finder

I tried with limit=0 still not working 😞

sundareshr
Legend

Have you tried

 <option name="charting.chart.sliceCollapsingThreshold">0</option>

rashmipandit
Engager

Where and how do we exactly use 0?

0 Karma

niketn
Legend

The above is assuming the query that feeds to Pie Chart is the chart command. For example:

<someBaseSearch>
| chart count by someField limit=0

Refer to Splunk Documentation: https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Chart#Chart_options

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

kdimaria
Communicator

This works!

0 Karma

cnoerjadi
Engager

Thank you!

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...