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

Lambda-Promtail: add ability to add custom tags to all logs forwarded from Cloudwatch #5356

Closed
JBSchami opened this issue Feb 9, 2022 · 0 comments · Fixed by #5359
Closed

Comments

@JBSchami
Copy link
Contributor

JBSchami commented Feb 9, 2022

Is your feature request related to a problem? Please describe.
I am looking to use lambda-promtail to send CloudWatch logs to a Loki instance. Everything works, however I would like to be able to add additional custom labels without needing to deploy a promtail instance to EC2 to perform re-labelling before forwarding the logs to my Loki instance.

Describe the solution you'd like
I would like to be able to set additional labels via an environment variable entry (possibly a JSON string?). These additional label values would be added to all logs pushed by the lambda-promtail.

Describe alternatives you've considered
We have considered deploying a Promtail in EC2, with a re-labeling configuration, as described in the docs, but would prefer not to have to do this for the sole purpose of adding additional labels.

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant