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 {