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!

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 ...