logstash-input-cloudwatch-logs icon indicating copy to clipboard operation
logstash-input-cloudwatch-logs copied to clipboard

not able to access cloudwatch logs from different AWS account

Open userakhila opened this issue 5 years ago • 2 comments

we have logstash installed on one account (account A) and trying to access cloudwatch logs from different AWS account (account B). But by default its considering the log-group given is from the same account. How can I specify the account number, so that it will search in that particular AWS account?

userakhila avatar Mar 25 '20 20:03 userakhila

You can assume role in different account. This plugin should accept role_arn as other plugins using logstash-aws-mixin do https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html#plugins-inputs-s3-role_arn

morganchristiansson avatar Jul 07 '20 16:07 morganchristiansson

Hi ,

Even i am not able to access cloudwtach logs from other account using role_arn assume role.Can you please help m eon this?

kalavathiy avatar May 19 '22 01:05 kalavathiy