journal hostname label
This commit is contained in:
@@ -22,7 +22,7 @@ loki.relabel "add_labels" {
|
|||||||
|
|
||||||
rule {
|
rule {
|
||||||
action = "replace"
|
action = "replace"
|
||||||
source_labels = ["__syslog_connection_hostname"]
|
source_labels = ["__journal__hostname"]
|
||||||
target_label = "hostname"
|
target_label = "hostname"
|
||||||
}
|
}
|
||||||
rule {
|
rule {
|
||||||
|
|||||||
Reference in New Issue
Block a user