Upstream PR here should be merged and backported as well to 25.10: https://github.com/fluent/fluent-bit/pull/10978