Try eval src=replace(src,".mydomain.com","")
@fdevera You could use a regular expression to create a new field for the subdomain, then call that new field in your table.
| rex field=src "(?<justthesubdomain>.+?(?=\.))"
| table justthesubdomain
Try eval src=replace(src,".mydomain.com","")