Skip to content

Commit f9f3c02

Browse files
committed
Related to the pull request fluent/fluent-bit#9766
The documentation doesn't make it clear, but the code seems to be trying to work this way. Signed-off-by: jantti <[email protected]>
1 parent 65148d9 commit f9f3c02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipeline/outputs/loki.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ When processing that new configuration, the internal labels will be:
125125
job="fluentbit", mystream="stdout"
126126
```
127127

128+
Extracting keys to labels through `labels`, `label_keys` or `label_map_path` will move those keys from the record data to labels, removing them from the record itself.
129+
128130
### Use `label_keys`
129131

130132
The `label_keys` configuration property lets you specify multiple record keys which need to be placed as part of the outgoing Stream Labels. This is another way to set a record key in the Stream, but with the limitation that you can't use a custom name for the key value.

0 commit comments

Comments
 (0)