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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...