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.
Check out the top command. Also, the sort command has an option to limit the number of results.
In this case:
your search
| table from size
| sort 10 - size