From f9f3c022c3eaadd2cf804cccf3d1fe96d612e133 Mon Sep 17 00:00:00 2001 From: jantti Date: Wed, 5 Nov 2025 12:16:03 +0900 Subject: [PATCH] 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 --- pipeline/outputs/loki.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/outputs/loki.md b/pipeline/outputs/loki.md index 0343dcbd9..f90be1bc9 100644 --- a/pipeline/outputs/loki.md +++ b/pipeline/outputs/loki.md @@ -125,6 +125,8 @@ When processing that new configuration, the internal labels will be: job="fluentbit", mystream="stdout" ``` +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. + ### Use `label_keys` 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.