When I use the use_log_group_name_prefix and use_log_stream_name_prefix, this plugin works as expected and is able to fetch logs from all satisfied log_group and log_stream. But after the if there's a new log_stream created during fluentd run time, the plugin won't detect this new log_stream, therefor the logs not being ingested.
Problem
When I use the
use_log_group_name_prefix
anduse_log_stream_name_prefix
, this plugin works as expected and is able to fetch logs from all satisfied log_group and log_stream. But after the if there's a new log_stream created during fluentd run time, the plugin won't detect this new log_stream, therefor the logs not being ingested....
Steps to replicate
Run Fluentd with this configuration
During the runtime, create a new log_stream that still satisfy the above configuration
You'll notice the plugin won't detect this new stream
Expected Behavior or What you need to ask
It should detect new log_stream as long as it satisfy the configuration.
...
Using Fluentd and CloudWatchLogs plugin versions