Reporting

How to remove a particular domain (of email id) from action type?

preethi123
New Member

I have email entries logged in Splunk. I need to filter out a particular domain of the emails when I list them separately. Like for example, I don't want to see the emails from abc domain (user@abc.com should not be listed in the results). How to go about that?

0 Karma
1 Solution

somesoni2
Revered Legend

Is the email extracted as field?? if yes than you can try something like this

index=blah sourcetype=blah youremailfieldname!="*@abc.com" | rest of the search

If its not extracted as field, try something like this

index=blah sourcetype=blah NOT "*@abc.com*" | rest of the search

View solution in original post

somesoni2
Revered Legend

Is the email extracted as field?? if yes than you can try something like this

index=blah sourcetype=blah youremailfieldname!="*@abc.com" | rest of the search

If its not extracted as field, try something like this

index=blah sourcetype=blah NOT "*@abc.com*" | rest of the search

View solution in original post

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!