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