diff --git a/vector.yaml b/vector.yaml index fe18411..c601c61 100644 --- a/vector.yaml +++ b/vector.yaml @@ -33,4 +33,11 @@ sinks: type: console inputs: [parse_logs] encoding: - codec: json \ No newline at end of file + codec: json + sinks: + loki_sink: + type: loki + inputs: ["docker_logs"] + endpoint: "http://localhost:3100" # Keine localhost, wenn Vector woanders läuft! + labels: + host: "{{ host }}" \ No newline at end of file