-
Notifications
You must be signed in to change notification settings - Fork 502
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
pipelines: filters: ecs: Retrieve container ID from record field #1402
base: master
Are you sure you want to change the base?
Conversation
Also fixed a typo. Signed-off-by: Ra'Jiska <dodo.lasticot@gmail.com>
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.
Thanks for your submission! I suggested some editorial changes and left a question about the referenced tag value.
pipeline/filters/ecs-metadata.md
Outdated
Attaches the cluster metadata, as well as task metadata using the already populated field `container_id` containing the | ||
container ID to query the ECS introspection endpoint. In this configuration the tag can be set to anything. |
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.
Attaches the cluster metadata, as well as task metadata using the already populated field `container_id` containing the | |
container ID to query the ECS introspection endpoint. In this configuration the tag can be set to anything. | |
Attaches the cluster metadata and task metadata using the populated `container_id` | |
field, which includes the container ID to query the ECS introspection endpoint. In this | |
configuration the tag can be set to anything. |
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'm unsure what the referenced tag is in the last sentence. Can you provide some clarification?
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.
Thanks for your suggested changed!
As for the last sentence, I updated to hopefully make it clearer. To put simply, currently ECS metadata requires incoming log records to have a the tag set in a format <prefix><containerid>
. Formatting the tag is no longer necessary when using Container_Id_Field_Name
as the container ID is retrieved through a given field within the log record.
9e57b13
to
5e91178
Compare
Co-authored-by: Adam Locke <adam.locke@chronosphere.io> Signed-off-by: Doriann Corlouër <RaJiska@users.noreply.github.com>
5e91178
to
adfdef3
Compare
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.
LGTM 🦖
Documentation for PR fluent/fluent-bit#9033