Skip to content

Request to include dynamic log group/stream support for awscloudwatchlogsexporter from contrib PR #31382 in ADOT Collector #3082

@madhub

Description

@madhub

Describe the question
I would like to request that the functionality added in opentelemetry-collector-contrib#31382 — support for dynamic selection of log_group_name and log_stream_name in the awscloudwatchlogsexporter — be made available in the AWS Distro for OpenTelemetry (ADOT) Collector.

This enhancement is important for dynamically routing logs in multi-tenant or multi-environment deployments and reduces the need for hardcoded exporter configuration.

Steps to reproduce if your question is related to an action
N/A — this is a request for an upstream feature to be included in ADOT builds.

What did you expect to see?
Availability of the dynamic log_group_name and log_stream_name capabilities (as implemented in contrib PR #31382) in the ADOT Collector so we can use them in our configurations.

Environment
Environment

ADOT Collector version: [e.g. v0.43.3]

Platform: [e.g. EKS, EC2, ECS, Lambda]

exporters:
  awscloudwatchlogs:
    log_group_name: ${attributes["aws.log_group_name"]}
    log_stream_name: ${attributes["aws.log_stream_name"]}

Example config (simplified):
Additional context
This feature is critical for use cases where log destinations vary by tenant, environment, or application, and helps avoid maintaining multiple static configurations. Including this in the ADOT Collector would allow us to adopt upstream improvements while staying on officially supported builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions