Splunk Search

TOP 10 values

riqbal47010
Path Finder

I have a sample data from email logs where we have from and message size.
how can I extract "Top ten sending addresses by message size"
attaching sample data snapshot.

alt text

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check out the top command. Also, the sort command has an option to limit the number of results.

---
If this reply helps you, Karma would be appreciated.
0 Karma

to4kawa
Ultra Champion

In this case:

your search
| table from size
| sort 10 - size
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...