Splunk Search

How to include "Other" in pie chart.

geetanjali
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="power_usage" | chart first(Power_consumption) over host | sort 20 -first(Power_consumption)
power


True


True
False

pie

100%





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

Thanks in advance.

Tags (1)
0 Karma

woodcock
Esteemed Legend

This will work:

index="test" sourcetype="power_usage" | chart limit=20 useother=t first(Power_consumption) over host 
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...