Put Host value in a Label

I’m trying to link the Host value in a Label inside an alert rule using something like a variable.

Put this hostname
image

inside the value
image

So, how do i exactly do that?

Thx!