How would you use a pattern match to get just the hostname and not the fqdn stuff?
host = muhhost.muhdomain.domain
But I want just muhhost
How would you use a pattern match to get just the hostname and not the fqdn stuff?
host = muhhost.muhdomain.domain
But I want just muhhost
@ilovesoar, give this a go
{{host:/(^[^.]*)/}}
Make sure that you don’t have the multiple matches box checked.
Just to provide some more context.
Courtesy of https://regex101.com