-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
I searched with the label socket: udp and could not find any related issue, so I create this new one.
I'd like to collect my python logs (multiple microservices running in docker containers) into a centralized place, a container itself.
For that I configured my python loggers to send UDP datagrams to a given location, and at that location, I have Vector running, with the following config:
[sources.my_source_id]
type = "socket"
address = "0.0.0.0:9000"
mode = "udp"
[sinks.out]
inputs = ["my_source_id"]
type = "console"
encoding = "text"
as described on the documentation website
However, I get the following error:
INFO vector: Log level "info" is enabled.
Jan 08 17:16:14.241 INFO vector: Loading config. path="/etc/vector/vector.toml"
Jan 08 17:16:14.246 ERROR vector: Configuration error: unknown variant `socket`, expected one of `docker`, `file`, `journald`, `kafka`, `splunk_hec`, `statsd`, `stdin`, `syslog`, `tcp`, `udp`, `vector` for key `sources.my_source_id.type`
What am I missing or doing wrong?
Thanks for the help
Cheers,
-..-. ..-. .-. . -..
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels