Splunk Search

How to extract and count email address?

stick-o
New Member

Hello. How to extract and count personal email address? Say the destination email field (d-email) contains email as below:

abc.work-email.com
cef.work-email.com
a.gmail.com
b.hotmail.com

I want to see how many email was sent to Gmail/Hotmail or any personal account.

 

 

Labels (1)
0 Karma

yuanliu
SplunkTrust
SplunkTrust

How about excluding work-email.com?

| where NOT match('d-email', "\.work-email\.com$")
| stats count

 

Tags (1)
0 Karma

stik-0
New Member

there will be thousands of business email domains. Will be difficult this way. 

0 Karma

stik-0
New Member
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...