
There’s different ways of interpreting what you might mean by “filtering on”, but in any case it is probably easiest to use the “ norm on ” command to create a new field out of your logs’ sender field with just the domain part that you need. You can then do whatever you need to with your new domain field.
E.g.
sender=* | norm on sender @<email_domain:string>
Having said that, I believe at least the normaliser for the Exchange Message Tracing logs from Microsoft 365 already includes a “Server” field that contains the domain name, so I guess it depends on where your logs containing those email addresses come from whether you need to do this or not.
6 comments