Datadog Logs Source Environment Variable Injection #23122
-
Hey, i'm running vector agents in my k8s cluster. I have a vector-agent running on port 6767. My goal is to have Here's my
The variable injection in datadog.yaml does not work in
Is it even possible to inject an environment variable into this field? Alternatively, is there a parameter to run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jspdhillon, I see that this discussion was closed. Did you figure out a solution? |
Beta Was this translation helpful? Give feedback.
Yeah I figured it out, you need to set this environment variable https://github.com/DataDog/datadog-agent/blob/b60575ea4f8cefde88eb0bc3dd5d5fb74d917cac/pkg/config/config_template.yaml#L588-L592 which will let you override the upstream endpoint and allow for you to interpolate strings/other environment variables.