Splunk Search

useother=f in tstats query? for piechart visualization

mprreddy51
Explorer

Hi,

I have a tstats query and I want to display all "others" in piechart .below is my query:

|tstats count AS "Count of Event Object" from datamodel=abcoper where (nodename = EventObject) groupby "EventObject.ysdDash_consumer"

my pie chart is showing
a=20%
b=30%
c=40%
others=10%

I used USEOTHER=F in the end of the query. but still i am not getting the result.

Any ideas how to use useother=f in tstats?

0 Karma

mprreddy51
Explorer

Thanks Somesh

0 Karma

somesoni2
Revered Legend

That is not the limitation of tstats command but the default behavior of pie chart visualization. By default, all the slices smaller than 1% will be clubbed together under slice "others". This behavior is controlled by attribute charting.chart.sliceCollapsingThreshold. Set this to 0 to show every slice.

See this for more details. http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#Pie_charts

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...