From 4a571af9b8f7a1e86e7f74f90976062e5ce2e516 Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Sat, 28 May 2022 02:09:28 +0000 Subject: [PATCH] feat: update vector config --- examples/tracing/config/vector.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tracing/config/vector.toml b/examples/tracing/config/vector.toml index cd17eea8..2cfda74f 100644 --- a/examples/tracing/config/vector.toml +++ b/examples/tracing/config/vector.toml @@ -3,7 +3,6 @@ type = "socket" address = "0.0.0.0:9000" mode = "tcp" decoding.codec = "json" -host_key = "" [transforms.logs-input] type = "filter" @@ -61,3 +60,4 @@ inputs = ["logs", "traffic"] endpoint = "http://loki:3100" encoding.codec = "json" labels.type = "{{ type }}" +labels.ctx_src_host = "{{ ctx.src_socket_addr }}"