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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...