Rule for label creation based on service name

Thanks for the quick replies. I was a bit confused by the wording “Service name is” and thought it would maybe change into “Service name ends with” similar to the existing “Service name begins with”.

I tried it out with .*XYZ and for service labels it works.