Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#10294·fluent-bit

`record-modifier` filter's `allowlist_key` list limited to 10 entries

Author: wI2LCreated May 6, 2025Updated Sep 11, 2026
Labelsstatus: waiting-for-triage

Bug Report

Describe the bug I am using the record_modifier filter as a processor (not that matter, but we never know) with the allowlist_key config:

- name: record_modifier
  allowlist_key:
    - key1
    - key2
[...]
    - key10

When I add a 11th entry to the array, Fluent Bit fails to start with the following error:

fluent-bit [2025/05/06 14:34:40] [error] unable to add key to list map
fluent-bit [2025/05/06 14:34:40] [error] yaml error
fluent-bit [2025/05/06 14:34:40] [error] configuration file contains errors, aborting.

I have tracked down the error message, and I believe this is due to this line: https://github.com/fluent/fluent-bit/blame/757b13d365bf95a8dce309d5f8d5e973bbc339f1/src/config_format/flb_cf_yaml.c#L2592

Your Environment

  • Version used: 4.0.1

Source: fluent/fluent-bit

View original on GitHubView discussion on GitHub