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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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