Skip to content

Conversation

@RicardoAAD
Copy link
Contributor

…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.
Copy link
Contributor

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>
@RicardoAAD
Copy link
Contributor Author

Changes were made

@github-actions
Copy link

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.

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale label Jul 27, 2023
@lecaros lecaros merged commit e2dea2f into fluent:master Oct 9, 2023
@lecaros lecaros added the backport to 2.1 PR's that need to be backported to branch 2.1 label Oct 9, 2023
MrPibody7 pushed a commit that referenced this pull request Oct 9, 2023
* 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>
MrPibody7 added a commit that referenced this pull request Oct 9, 2023
* 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>
TomlinfreeGit pushed a commit to TomlinfreeGit/fluent-bit-docs that referenced this pull request Oct 28, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to 2.1 PR's that need to be backported to branch 2.1 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants