-
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
Unconditional rewrite_tag regardless of record data #5846
Labels
Comments
ryan65
changed the title
Unconditional rewrite_tag
Unconditional rewrite_tag regardless of record data
Aug 7, 2022
A workaround is to use
The lua script is https://github.com/fluent/fluent-bit/blob/master/scripts/append_tag.lua |
nokute78
added a commit
to nokute78/fluent-bit
that referenced
this issue
Aug 12, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
nokute78
added a commit
to nokute78/fluent-bit
that referenced
this issue
Aug 12, 2022
…5846 Signed-off-by: Takahiro Yamashita <[email protected]>
nokute78
added a commit
to nokute78/fluent-bit
that referenced
this issue
Aug 12, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
edsiper
pushed a commit
that referenced
this issue
Aug 15, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
edsiper
pushed a commit
that referenced
this issue
Aug 15, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
nokute78
added a commit
to nokute78/fluent-bit
that referenced
this issue
Aug 15, 2022
…5846 Signed-off-by: Takahiro Yamashita <[email protected]>
nokute78
added a commit
to nokute78/fluent-bit
that referenced
this issue
Aug 15, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
edsiper
pushed a commit
that referenced
this issue
Sep 27, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
edsiper
pushed a commit
that referenced
this issue
Sep 27, 2022
Signed-off-by: Takahiro Yamashita <[email protected]>
mgeriesa
pushed a commit
to mgeriesa/fluent-bit
that referenced
this issue
Oct 25, 2022
…5846 Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: Manal Geries <[email protected]>
mgeriesa
pushed a commit
to mgeriesa/fluent-bit
that referenced
this issue
Oct 25, 2022
Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: Manal Geries <[email protected]>
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 |
This issue was closed because it has been stalled for 5 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I would like to unconditionally rewrite the tag , if it matches a certain value (or regex). for example below , if the Tag in the input was set to tag1 tag2 tag3 I would like to change it to Tag_General, I dont care about the actual record data.
Is there any existing way to do something like this .?
I tried using $TAG in the rule as the key and then use a regex , but caused seg fault.
I am looking for something like this.
[FILTER]
Name rewrite_tag
match_regex (tag1|tag2|tag3)
Rule [ignore] [ignore] Tag_General false
Emitter_Name re_emitted
The text was updated successfully, but these errors were encountered: