lukewaite / logstash-input-cloudwatch-logs

Input plugin for Logstash to stream events from CloudWatch Logs
Other
142 stars 74 forks source link

not able to access cloudwatch logs from different AWS account #85

Open userakhila opened 4 years ago

userakhila commented 4 years ago

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?

morganchristiansson commented 4 years ago

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

kalavathiy commented 2 years ago

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?