-
Notifications
You must be signed in to change notification settings - Fork 972
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
(feat)! : outdated aws-for-fluent-bit chart updated to use new high performance cloudwatch_logs plugin #903
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested the changes and they works good.
@deepend-dev Thanks! I've been meaning to do this myself for a while. S3 also needs to be added, possibly opensearch. I will review soonish. I'm wondering though if the old plugin should still be an option though. It does have one advantage that is can be more stable. We've recently had several bad issues that impact only the high performance core C plugin, and giving customers an easy option to downgrade to older stable go plugin is important: aws/aws-for-fluent-bit#542 I could see two ways of doing this:
I think I prefer #2. What do you think? |
I would prefer option 2 if we really want to keep both versions. |
@deepend-dev thanks! |
4a63854
Testing Opensearch:Issue
I noticed an issue that opensearch plugin doesnt work with record accessor, although it is mentioned in fluent-bit docs that it should. I tried multiple combinations but it just doesnt seem to work. Raised an issue on fluentbit repo - issue . Have you seen this behaviour before? Here's a setting example [OUTPUT]
Name opensearch
Match *
AWS_Region ap-southeast-1
AWS_Auth On
Host search-fluent-bit-logging-g6lh44s35e7ytj5vh2yrsds7qa.ap-southeast-1.es.amazonaws.com
Port 443
tls true
Buffer_Size 5m
Index $kubernetes['namespace_name']
Type _doc
Logstash_Format Off
Logstash_Prefix logstash
Logstash_DateFormat %Y.%m.%d
Time_Key @timestamp
Time_Key_Format %Y-%m-%dT%H:%M:%S
Time_Key_Nanos Off
Include_Tag_Key Off
Tag_Key _flb-key
Generate_ID Off
Write_Operation create
Replace_Dots Off
Trace_Output On
Trace_Error Off
Current_Time_Index Off
Suppress_Type_Name On Here's fluent bit log showing that index api call is not correct. Its literally sending in Update 1SolutionI have found solution to the above problem and it is maximum weird. Above issue comes with all fluent bit ECR images How do you want to proceed with this issue @PettitWesley FYI I have raised below issues: Update 2As per the notes on the issue, it is happening because latest public ecr image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good! Thank you for your work on this!
updated all reviews and tested changes to be working as expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deepend-dev I think this is almost ready to go, just 2 new comments, and then can you please sqash your changes into 1 or a few commits please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry.. we are almost there but found a minor issue in the readme formatting. Please click the "..." button and click "view file" in github to review the readme formatting yourself.
@PettitWesley formatting is looking good to me. |
Issue
Resolves below issue/s:
#901
Also can be added as resolver of:
#340
#719
#436
#833
#671
Current fluent bit helm chart is outdated.
Aligning with recommendations from current repo to use New Higher Performance Core Fluent Bit Plugin.(https://github.com/fluent/fluent-bit/tree/master/plugins/out_cloudwatch_logs) is directly integrated into fluent bit.
Description of changes
Checklist
README.md
for modified charts)version
inChart.yaml
for the modified chart(s)Testing
added as part of argocd addon repository deployed with eks terraform blueprint. Here's the addon repo
configfile is correctly reflecting as per provided config
Chart version: 0.1.24
All pods up:
Added below config to generate a new loggroup per namespace and new stream per app
Namespace isolated logs being generated:
Application stream:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.