-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings "stream_name is nil" generated when using the log_stream_name_key option #100
Comments
I couldn't reproduce this issue with fluent-plugin-cloudwatch-logs v0.10.0: <source>
@type forward
</source>
<filter **>
@type stdout
</filter>
<match cloudwatch.**>
@type cloudwatch_logs
region ap-northeast-1
aws_key_id <obfuscated>
aws_sec_key <obfuscated>
auto_create_stream true
log_group_name fluentd
log_stream_name_key mykey
auto_create_stream true
message_keys message
<buffer tag>
@type memory
</buffer>
</match>
AWS CloudWatchLogs console:
|
I'm having the same issue using official
It works fine, the log group and stream are created and logs are getting there, but the fluentd container output is full of Example of a docker-compose.yml file with fluentd as a logging driver:
|
For anyone who will stumble on this issue:
cheers! |
This is my configuration:
The logs are sent to CloudWatch and both log group and log stream are created in CloudWatch as expected. The only problem is periodic warnings in the td-agent.log:
It would be great if the warnings could be fixed. Thanks.
The text was updated successfully, but these errors were encountered: