alloy_implementation #13
1 changed files with 0 additions and 7 deletions
|
@ -70,13 +70,6 @@ alloy:
|
||||||
target_label = "container"
|
target_label = "container"
|
||||||
}
|
}
|
||||||
|
|
||||||
rule {
|
|
||||||
source_labels = ["__meta_kubernetes_pod_name", "__meta_kubernetes_pod_container_name"]
|
|
||||||
action = "replace"
|
|
||||||
target_label = "__path__"
|
|
||||||
replacement = "/var/log/containers/$1_$2.log"
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loki.source.kubernetes "all_pod_logs" {
|
loki.source.kubernetes "all_pod_logs" {
|
||||||
|
|
Reference in a new issue