From a3408c78821cd0c5eda08584bdd83a0aac963233 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 16:31:09 +0100 Subject: [PATCH] journal hostname label --- templates/config.alloy.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"