Splunk Search

How to group "OTHERS" in a chart or stats command?

HeinzWaescher
Motivator

Hi,

how can I show up the top10 results and the rest as OTHERS in a chart or stats command?

Like it can be done in a timechart:
sourcetype=data
| timechart span=1d count BY event_name limit=10

I tried out useother=t, but without success

BR

Heinz

Tags (3)
0 Karma

schose
Builder

Hi,

is this what you want?! works find for me:

index=_internal | timechart limit=5 useother=t count by host
0 Karma

HeinzWaescher
Motivator

No, I would like to have something like this:

index=_internal | chart limit=5 useother=t count by host

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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