From 87113cd4f154b36c5c38d167d311b8ab1286b2ce Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Tue, 11 Mar 2025 15:37:37 +0100 Subject: [PATCH] journal hostname label --- templates/config.alloy.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config.alloy.erb b/templates/config.alloy.erb index 8427260..296112a 100644 --- a/templates/config.alloy.erb +++ b/templates/config.alloy.erb @@ -22,7 +22,7 @@ loki.relabel "add_labels" { rule { action = "replace" - source_labels = ["__syslog_connection_hostname"] + source_labels = ["__journal__hostname"] target_label = "hostname" } rule {