diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index 1317244..42f60a6 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -45,8 +45,8 @@ loki.relabel "add_labels" { rule { action = "replace" - target_label = "host" - replacement = "hostname" + target_label = "hostname" + replacement = "host" } rule { action = "replace"