Splunk Search
Highlighted

How to include "Other" in pie chart.

Path Finder

I have total 100 host data. But i am displaying 20 hosts in my pie chart with sort 20 command. I want other option to display remaining hosts.


index="test" sourcetype="powerusage" | chart first(Powerconsumption) over host | sort 20 -first(Powerconsumption)
power


True


True
False

pie
<module name="FlashChart" layoutPanel="panel
row2_col1" >
100%





What option i need to include for displaying "Others" in pie chart?

Thanks in advance.

Tags (1)
0 Karma
Highlighted

Re: How to include "Other" in pie chart.

Esteemed Legend

This will work:

index="test" sourcetype="power_usage" | chart limit=20 useother=t first(Power_consumption) over host 
0 Karma