fluent / fluent-bit-docs

Fluent Bit - Official Documentation

Home Page:https://docs.fluentbit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation for Rewrite Tag does not match real behaviour.

Stealthmate opened this issue · comments

Current docs (v2.2) and the docs for what I'm using (v1.9.9) both specify the following when using Rewrite Tag

A key name is specified and prefixed with a $.

This appears to work as intended with keys not containing dots (.), but for keys containing a dot, it doesn't. On the other hand, omitting the $ produces the intended behaviour.

# This works
Rule              $key_without_dot ^(.*)$ $1 true
# This does not work, but should
Rule              $key.with.dot ^(.*)$ $1 true
# This works, but shouldn't?
Rule              key.with.dot ^(.*)$ $1 true

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

This issue was closed because it has been stalled for 5 days with no activity.