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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...