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
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...