`record-modifier` filter's `allowlist_key` list limited to 10 entries
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 2k
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 71
Description
## 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
Contributor guide
Assessment
This issue has not been assessed yet.