- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
marco_massari11
Communicator
02-13-2023
06:13 AM
Hi,
I have different mails in my logs and I need to filter them in order to distinguish real users from technical users. I noticed that real users have an email like name.surname@company.com, so I would like to extract these emails matching "anycharacter.anycharacter@any" because in some case it could be possible to have an email with numbers (ex. name.surname1@company.com).
Thank you in advance!
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

gcusello

SplunkTrust
02-13-2023
06:15 AM
Hi @marco_massari11,
you could use the regex command:
your_search
| regex "\w+\.\w+\@\w+\.\w+"
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

gcusello

SplunkTrust
02-13-2023
06:15 AM
Hi @marco_massari11,
you could use the regex command:
your_search
| regex "\w+\.\w+\@\w+\.\w+"
Ciao.
Giuseppe
