Skip to content

Unkown variant socket #1491

@silverdaz

Description

@silverdaz

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,
-..-. ..-. .-. . -..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions