// Leest de logs van elke draaiende container en stuurt ze naar Loki. discovery.docker "containers" { host = "unix:///var/run/docker.sock" } loki.source.docker "containers" { host = "unix:///var/run/docker.sock" targets = discovery.docker.containers.targets forward_to = [loki.write.opslag.receiver] } loki.write "opslag" { endpoint { url = "<< loki_url >>/loki/api/v1/push" } }