Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use environment variables in data prepper configs #3335

Open
sandervandegeijn opened this issue Sep 14, 2023 · 4 comments
Open

Use environment variables in data prepper configs #3335

sandervandegeijn opened this issue Sep 14, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@sandervandegeijn
Copy link

Is your feature request related to a problem? Please describe.
Other logforwarders support the use of environment variables in configs. Logstash and FLuentbit both support the ${ENV_VAR} notation in their config files. This is useful in docker/kubernetes implementations where you might have several instances using the same config data. The data prepper docs don't reference this so I presume it's not supported yet.

Describe the solution you'd like
Use environment variables in the configs like Fluent-bit and Logstash do

Describe alternatives you've considered (Optional)
None

Additional context
None

@dlvenable
Copy link
Member

I think we'd be supporting this with a syntax like ${{env.ENV_VAR}}. We laid the groundwork for this in the AWS Secrets Manager work: #3382

@dlvenable dlvenable added enhancement New feature or request and removed untriaged labels Oct 24, 2023
@sandervandegeijn
Copy link
Author

Would be very useful, especially in a container environment 👍

@batpiste
Copy link

very useful indeed :)

@anand3493
Copy link

@dlvenable Would really like to use ${{env.ENV_VAR}} in our EKS data prepper deployment. Do we have any plan on doing this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

4 participants