Reporting

Display only account that end with @d.com

ajromero
Path Finder

This search gives me all the data I need, but I would to display only email accounts that end with an specific name for instance I want to display only accounts that end with @d.com 

Here is my query:

ajromero_0-1594064957661.png

Here are my results: The only accounts that I want to display are the ones end with @d.com

ajromero_2-1594065451636.png

and as you can see, the search is showing other accounts like this one @ge.com

can someone tell me how to do this?

thanks

Tags (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try replacing

| where recipient<"IID.com"

with

| regex recipient="@d\.com"

 

---
If this reply helps you, Karma would be appreciated.
0 Karma

ajromero
Path Finder

Hi,

It didn't work. I want to display only recipients that ends with iid.com only 

if you see the picture is mixing other accounts from other domains and I want only to display the accounts with the iid.com

ajromero_0-1594068864167.png

thank you

0 Karma

to4kawa
Ultra Champion
| where match(recipient,"(?i)iid.com")

how about this?

ajromero
Path Finder

awesome , this worked perfect

thanks

but  I have another question,

I would like to remove the Email Accounts field that does not have a User Name see below

ajromero_0-1594070551961.png

if that possible

thanks

0 Karma

to4kawa
Ultra Champion

| where match(recipient,"(?i)iid.com") AND isstr(src_user_nick)

ajromero
Path Finder

it worked 

thanks

0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...