By using AWS re:Post, you agree to the Terms of Use

Cloudwatch insights


Is it possible to setup cloudwatch Insight JSON rules on log groups that are in other AWS accounts? We have our monitoring stack setup in another account, we'd like for our service accounts to talk to monitoring accounts to pull out cloudwatch insight graphs on a dashboard in service accounts. Any help will be appreciated. I've tried following instructions in this article with no luck getting insight rules to display data -

But since cloudwatch insight rules work with log group names and not ARNs, wondering if its even possible?

  • So, to clarify, you'd like to query Account B's logs using Account A's CloudWatch Logs Insights?

  • yes that's correct.

1 Answer

Since it sounds like you're centralizing your monitoring, I would recommend centralizing your logging as well. That's the way I see most customers with your goal go. This solution can help you do that.

As far as "can you have CloudWatch Insight query logs in other accounts?", I don't believe that's possible, because I haven't seen anyone do that and because the docs don't mention anything about cross-account for CloudWatch Logs Insights queries. I'll try to update those docs to make that limitation clearer.

answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions