Zach Smith
06/26/2025, 7:28 PMservice:
flush: 5
log_level: debug
storage_sync: full
storage.backlog.mem_limit: 5M
includes:
- './common/messages.yml'
- './common/top.yml'
pipeline:
outputs:
- name: stdout
match: "*"
I get the following error:
Fluent Bit v4.0.3
* Copyright (C) 2015-2025 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
______ _ _ ______ _ _ ___ _____
| ___| | | | | ___ (_) | / || _ |
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __/ /| || |/' |
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / /_| || /| |
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /\___ |\ |_/ /
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ |_(_)___/
[2025/06/26 14:23:56] [error] [/private/tmp/fluent-bit-20250530-6528-yhw7cr/fluent-bit-4.0.3/src/config_format/flb_cf_yaml.c:2859 errno=2] No such file or directory
[2025/06/26 14:23:56] [error] [config] including file './common/top.yml' at ././common/messages.yml:21
[2025/06/26 14:23:56] [error] yaml error
[2025/06/26 14:23:56] [error] configuration file contains errors, aborting.
If I add an environment variable tabs with the following syntax:
env:
CONFIG: 'path/to/conf'
service:
flush: 5
log_level: debug
storage_sync: full
storage.backlog.mem_limit: 5M
includes:
- ${CONFIG}common/ims.yml
pipeline:
outputs:
- name: stdout
match: "*"
I get the following error:
[2025/06/26 14:27:16] [error] [/private/tmp/fluent-bit-20250530-6528-yhw7cr/fluent-bit-4.0.3/src/config_format/flb_cf_yaml.c:2859 errno=2] No such file or directory
[2025/06/26 14:27:16] [error] [config] including file '${CONFIG}common/ims.yml' at common.yml:24
[2025/06/26 14:27:16] [error] yaml error
[2025/06/26 14:27:16] [error] configuration file contains errors, aborting.
Also it seems like I can use partial paths only if there is one?
Any help is greatly appreciated!