Open lydiaong opened 4 months ago
Pinging code owners:
exporter/awscloudwatchlogs: @boostchicken @bryan-aguilar @rapphil
See Adding Labels via Comments if you do not have permissions to add labels yourself.
@lydiaong you can check this out https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29285
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Component(s)
exporter/awscloudwatchlogs
Is your feature request related to a problem? Please describe.
I am trying to run the otel collector in AWS Appstream. The default profile of the Appstream instance is an assumed role created by AWS and it will try to export the logs to a different account instead of my own AWS account. Thus, when I run aws commands in appstream, i would need to include the
--profile appstream_machine_role
in the command that i'm running to allow appstream to assume this role and interact with other services in my AWS account.Describe the solution you'd like
Include a role_arn option in the awscloudwatchlogs exporter, similar to the aws emf exporter so that the collector can assume that role and export the log to cloudwatch in my own aws account.
Describe alternatives you've considered
No response
Additional context
No response