You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Record accessors with hyphens or dashes not working in cloudwatch_logs output plugin
Configuration
[OUTPUT]
Name cloudwatch_logs
Match *
region ap-northeast-1
log_group_name /eks/test
log_group_template /eks/$(kubernetes['namespace_name'])/$(kubernetes['container_name'])
log_stream_prefix bit
log_stream_template $(kubernetes['namespace_name'])/$(kubernetes['container_name']).cloudwatch_log
log_key log
Fluent Bit Log Output
[2023/05/18 03:13:14] [error] [record accessor] bad input character '(' at line 0
[2023/05/18 03:13:14] [error] [lib] backend failed
[2023/05/18 03:13:14] [error] [record accessor] bad input character ')' at line 0
[2023/05/18 03:13:14] [error] [record accessor] bad input character '/' at line 0
[2023/05/18 03:13:14] [error] [record accessor] syntax error, unexpected '$', expecting $end at '$(kubernetes['namespace_name'])/$(kubernetes['container_name'])'
[2023/05/18 03:13:14] [error] [output:cloudwatch_logs:cloudwatch_logs.0] Could not parse `log_group_template`
[2023/05/18 03:13:14] [error] [output:cloudwatch_logs:cloudwatch_logs.0] Initialization failed
[2023/05/18 03:13:14] [error] [output] failed to initialize 'cloudwatch_logs' plugin
Describe the question/issue
Record accessors with hyphens or dashes not working in cloudwatch_logs output plugin
Configuration
Fluent Bit Log Output
Fluent Bit Version Info
The text was updated successfully, but these errors were encountered: