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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...