Skip to content

Can the API address be configured to use a Unix socket? #22218

Answered by pront
paul-palmer asked this question in Q&A
Discussion options

You must be logged in to vote

I see, I suppose you are referring to https://vector.dev/docs/reference/api/#address.

In code:

vector/src/config/api.rs

Lines 15 to 17 in 8e15aeb

/// The socket address to listen on for the API endpoint.
#[serde(default = "default_address")]
pub address: Option<SocketAddr>,

So currently no, but it is possible to enhance the above config to accept both.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@paul-palmer
Comment options

@pront
Comment options

Answer selected by paul-palmer
@paul-palmer
Comment options

@paul-palmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain: api Anything related to Vector's GraphQL API
2 participants