-
Notifications
You must be signed in to change notification settings - Fork 540
Record accessor limitation #1015
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
Conversation
…ding record accessos syntax limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…xed links Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…xed links Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…xed links Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…xed links Signed-off-by: RicardoAAD <ricardo@calyptia.com>
|
|
||
| ### Limitations of record_accessor templating | ||
|
|
||
| Notice in the example from [Record accessor template usage](../../../pipeline/filters/ecs-metadata.md#example-2-attach-customized-resource-name-to-container-logs), that the template values are separated by dot characters. This is important; the Fluent Bit record_accessor library has a limitation in the characters that can separate template variables- only dots and commas (`.` and `,`) can come after a template variable. This is because the templating library must parse the template and determine the end of a variable. |
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.
The reference should be from the example to this page, not the opposite.
…ccessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…ccessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com>
…ccessor library limitation typos Signed-off-by: RicardoAAD <ricardo@calyptia.com>
|
Changes were made |
|
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
|
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
* administration/configuring-fluent-bit/classic-mode/record-accessor adding record accessos syntax limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration/configuring-fluent-bit/classic-mode/record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation typos Signed-off-by: RicardoAAD <ricardo@calyptia.com> --------- Signed-off-by: RicardoAAD <ricardo@calyptia.com> Signed-off-by: Enrique Sibaja Pastrana <enrique@calyptia.com>
* administration/configuring-fluent-bit/classic-mode/record-accessor adding record accessos syntax limitation * administration/configuring-fluent-bit/classic-mode/record-accessor fixed links * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation typos --------- Signed-off-by: RicardoAAD <ricardo@calyptia.com> Signed-off-by: Enrique Sibaja Pastrana <enrique@calyptia.com> Co-authored-by: Ricardo Ahumada <112411485+RicardoAAD@users.noreply.github.com>
* administration/configuring-fluent-bit/classic-mode/record-accessor adding record accessos syntax limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration/configuring-fluent-bit/classic-mode/record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * administration:configuring-fluent-bit:classic-mode:record-accessor fixed links Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation Signed-off-by: RicardoAAD <ricardo@calyptia.com> * pipeline:filters:ecs-metadata git Changed references to the record_accessor library limitation typos Signed-off-by: RicardoAAD <ricardo@calyptia.com> --------- Signed-off-by: RicardoAAD <ricardo@calyptia.com> Signed-off-by: Tom <yao.lin@siemens.com>
Removed the Limitation section from https://docs.fluentbit.io/manual/pipeline/filters/ecs-metadata#limitations-of-record_accessor-templating and added this section to https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/record-accessor