Skip to content

Commit

Permalink
feat: update vector config
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed May 28, 2022
1 parent cc9cc17 commit 4a571af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tracing/config/vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ type = "socket"
address = "0.0.0.0:9000"
mode = "tcp"
decoding.codec = "json"
host_key = ""

[transforms.logs-input]
type = "filter"
Expand Down Expand Up @@ -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 }}"

0 comments on commit 4a571af

Please sign in to comment.