From f8a400253deac2eb8e325013745943851cb87292 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 16:20:26 +0100 Subject: [PATCH] journal hostname label --- templates/config.alloy.erb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index cb42379..cf7522a 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -45,11 +45,6 @@ loki.relabel "add_labels" { forward_to = [loki.write.loki.receiver] rule { - action = "replace" - source_labels = ["__hostname"] - target_label = "hostname" - } - rule { action = "replace" target_label = "job" replacement = "syslogs"