-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
out_cloudwatch_logs: add support for record accessor #3246
Comments
@PettitWesley @edsiper would you mind having look at this? |
@dahu33 I believe you are correct We built a templating feature in the It would be cool to implement it in the |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Is the eventual goal to implement record accessor in aws/amazon-cloudwatch-logs-for-fluent-bit#131 (comment), mentions that |
Yes. Record accessor is the Fluent Bit core way of doing templating. So we would use that method in |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
FWIW and to keep the issue open, aws-for-fluent-bit has both |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hi there, I would ask a bit of priority for this if possible, the default fluent-bit image (using this repo as source) has only the @PettitWesley since the docs are not stating the old plugin is deprecated, couldn't we temporarily have back the |
You can use AWS's images: https://github.com/aws/aws-for-fluent-bit |
@nnsense what do you mean by "have back". The old cloudwatch plugin was never taken away 😬 |
@PettitWesley |
@nnsense that is because the You can only use it if you are using AWS for Fluent Bit release, the upstream (this repo) release and helm charts will not include it: https://github.com/aws/aws-for-fluent-bit I think we have AWS for Fluent Bit helm charts here: https://github.com/aws/eks-charts |
Got it, thanks. I just need to wait, basically, the whole story is rather interesting: aws-for-fluent-bit chart is currently using v1.7, so no multiline core. Latest image available for that chart is still 1.8.2, which has some bugs into its multiline core implementation. That works with 1.8.3 instead, but I can't use that image with aws-for-fluent-bit without rebuilding the image and.. its plugins are not public apparently :( |
We support 1.8.3 now:
What do you mean? Everything in AWS for FLuent Bit is public and open source. Nothing is closed source or hidden. |
Wow, that's great! When I've tried running docker build with the aws for fluent but Dockerfile I've got an authentication error at some point, I remember it was related some plugins but tomorrow I can try again and post the error, but it's not really important now that I have aws-for-fluent-bit working with 1.8.3 :) |
Ignore me, I've just checked and I've missed to use the makefile to build the plugins.. it has been a long day, that one :) (Also, I wasn't really happy of that path, as I should have used that custom image thereafter.. so I wasn't really convinced of what I was doing) |
I was able to achieve that by using
|
The |
Finally working on this: #5633 |
Is your feature request related to a problem? Please describe.
I would like to dynamically add the Kubernetes namespace in the Cloudwatch Logs group name. This is useful to:
Describe the solution you'd like
I believe the solution would be to implement record accessor in the
out_cloudwatch_logs
plugin. That way the user could freely name its log groups and log streams based on record information.Example:
Describe alternatives you've considered
Is there any?
The text was updated successfully, but these errors were encountered: