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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...