Splunk Search

I'm trying to find the top 50 email senders. Is my search correct?

seetharamanPr
New Member
index=mail sourcetype="symantec:mail:syslog" sender "ML-DELIVERY" | stats values(sender) as sender by msg_id | eventstats dc(sender) as multi_sender by msg_id | where multi_sender > 50

We are have SMG in our company and it has been integrated successfully into Splunk as well. I am trying now to find out who are the top 50 email senders. Is the above search correct? If not, kindly let me know what has to be changed.

Regards
Pradeep

0 Karma
1 Solution

alemarzu
Motivator

Hi there @seetharamanPr

Try like this:

 index=mail sourcetype="symantec:mail:syslog" sender "ML-DELIVERY" | stats count by sender | sort - count | head 50

Hope it helps

View solution in original post

0 Karma

alemarzu
Motivator

Hi there @seetharamanPr

Try like this:

 index=mail sourcetype="symantec:mail:syslog" sender "ML-DELIVERY" | stats count by sender | sort - count | head 50

Hope it helps

0 Karma

seetharamanPr
New Member

Thank you alemarzu

the command works and I am able to see who is sending the most mails.

Regards
Pradeep

0 Karma

alemarzu
Motivator

Nice, I'm glad it helped !

0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...