Closed jpds closed 1 month ago
What do you mean by "automagically"? Vector does support the normal http(s)_proxy
environment variables. If those are set, the values will be respected. Is that what you mean?
@jszwedko Yes, indeed. In this case, those are useful for the sources I have configured, but I want to disable it just for this one sink.
Ah I see. I assume you tried setting: proxy: { enabled: false }
on the sink you want to disable it on?
~Hmm, this sink is not checking the~ enabled
~field:~
https://github.com/vectordotdev/vector/blob/59b7c9ad55dff61ecc34be71f438e4a7f9826eb8/src/sinks/vector/config.rs#L213
A note for the community
Problem
The
vector
sink appears to automagically enable HTTP proxy support (with no way of turning it off).This caused me some issues where I was trying to send data from a locked down network, where on one hand I had a series of targets leveraging the automatic HTTP support (through environment variables), whilst wanting to send to another Vector instance without the HTTP proxy (and down a VPN tunnel instead).
Configuration
No response
Version
0.41.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
No response