Replies: 1 comment 7 replies
-
Hi @jgresiak ! The sink_datadog:
type: datadog_logs
endpoint: http://fqdn_for_dd_agent:3838"
inputs:
- my_great_input
default_api_key: "super_secret_dd_api_key" (note the use of the HAProxy URL as Note that you'll need to configure HAProxy listen and forward the logs specifically. That means configuration like:
This is shown on https://docs.datadoghq.com/agent/configuration/proxy/?tab=linux#haproxy Alternatively, rather than HAProxy, you could use an actual HTTP proxy like Squid which just accepts and forwards any HTTP requests. This could be used with Vector's Hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
Here is what I want to achieve:
vector (sink: datadog_logs) > (datadog-agent/)haproxy > datadoghq.eu
Some context:
My objective:
Is this achievable?
This vector config does not work:
The 3838 port is found here: https://docs.datadoghq.com/agent/configuration/proxy/?tab=linux#haproxy
HAProxy is configured just like in the official docs, I use default ports.
This is excerpt from
/etc/haproxy/haproxy.cfg
:Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions