Skip to content

Commit

Permalink
pipeline: filter: modify: document move_to_{start,end} (#953)
Browse files Browse the repository at this point in the history
These were added in fluent/fluent-bit#6103

Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>

Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>
  • Loading branch information
seveas authored Oct 21, 2022
1 parent b101992 commit 0cfb56e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline/filters/modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ The plugin supports the following rules:
| Hard\_rename | STRING:KEY | STRING:RENAMED\_KEY | Rename a key/value pair with key `KEY` to `RENAMED_KEY` if `KEY` exists. If `RENAMED_KEY` already exists, _this field is overwritten_ |
| Copy | STRING:KEY | STRING:COPIED\_KEY | Copy a key/value pair with key `KEY` to `COPIED_KEY` if `KEY` exists AND `COPIED_KEY` _does not exist_ |
| Hard\_copy | STRING:KEY | STRING:COPIED\_KEY | Copy a key/value pair with key `KEY` to `COPIED_KEY` if `KEY` exists. If `COPIED_KEY` already exists, _this field is overwritten_ |
| Move\_to\_start | WILDCARD:KEY | NONE | Move key/value pairs with keys matching KEY to the start of the message |
| Move\_to\_end | WILDCARD:KEY | NONE | Move key/value pairs with keys matching KEY to the end of the message |

* Rules are case insensitive, parameters are not
* Any number of rules can be set in a filter instance.
Expand Down

0 comments on commit 0cfb56e

Please sign in to comment.