-
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
filter_ecs: new filter for AWS ECS Metadata #5899
Conversation
Running on an instance inside of an ECS cluster:
The first container is part of an ECS Task. The filter's use case is to attach metadata to its logs. I could set up Fluent Bit to actually collect its logs, but for testing, the easiest thing to do is to set a config to mimic a tag coming from a real task:
Even though we use dummy input, the tag and ECS_Tag_Prefix configured makes filter think the logs are coming from the task:
No leaks:
|
0bab220
to
e2812a4
Compare
Doc PR: fluent/fluent-bit-docs#925 |
|
0f67161
to
8759e40
Compare
8759e40
to
e5b6b4b
Compare
e5b6b4b
to
d40ced0
Compare
d40ced0
to
a236804
Compare
a236804
to
4f7d3df
Compare
Signed-off-by: Wesley Pettit <[email protected]>
4f7d3df
to
21826c1
Compare
Signed-off-by: Wesley Pettit <[email protected]> Signed-off-by: Manal Geries <[email protected]>
Signed-off-by: Wesley Pettit <[email protected]> Signed-off-by: root <[email protected]>
Signed-off-by: Wesley Pettit [email protected]
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.