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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...