alloy_implementation #13
1 changed files with 4 additions and 2 deletions
|
@ -71,7 +71,9 @@ alloy:
|
|||
separator = "/"
|
||||
replacement = "/var/log/pods/*$1/*.log"
|
||||
}
|
||||
}
|
||||
|
||||
loki.source.kubernetes "all_pod_logs" {
|
||||
targets = discovery.relabel.pod_logs.output
|
||||
forward_to = [loki.write.local_loki.receiver]
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue