Skip to content

Using a wildcard on log_stream name #252

Open
@yelaissaoui

Description

@yelaissaoui

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions