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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...