Skip to content
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

Using a wildcard on log_stream name #252

Open
yelaissaoui opened this issue Feb 22, 2023 · 1 comment
Open

Using a wildcard on log_stream name #252

yelaissaoui opened this issue Feb 22, 2023 · 1 comment

Comments

@yelaissaoui
Copy link

yelaissaoui commented Feb 22, 2023

Problem

I'm using the in_cloudwatch_logs to retrieve RDS logs from CW. I'm trying to retrieve logs from many databases, hence many log groups and log streams.
Actually, the plugin only support the usage of prefixes for log_stream name. I'd like to retrieve all the log streams matching the log_group I've provided, is there a way to patch the code ?

log group:
/aws/rds/instance/*/postgresql => Using "log_group /aws/rds/instance/" with prefix to true
log_stream:
*-master.0 => wildcard on all RDS instances

Thanks
...

Using Fluentd and CloudWatchLogs plugin versions

  • plugin version : 0.14.3
  • Kubernetes, image : "fluent/fluentd-kubernetes-daemonset", tag: "v1.15.3-debian-cloudwatch-1.0"
  • Fluentd v1.15.3
@jalvarez-outburst
Copy link

I believe that implementing this feature would greatly improve the functionality of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants