Querying remote account CloudWatch logs using athena

0

Hey, i want to us athena to query cloud watch logs from other account(not my account). When i set up athena data source and choose CloudWatch Logs, i don't see any option to control the account(and region) - it automatically connects to my cloudwatch in the current region.

I want to know if there is an option to control the properties of the cloudwatch logs(from which account and region) and by that to be able to query logs from other account in my account.

質問済み 5ヶ月前158ビュー
1回答
0

Hi,

I would suggest you to read https://dev.to/markymarkus/using-athena-to-query-multi-account-cloudwatch-logs-54j and use the Cloudformation templates that they deliver to obtain a working solution.

If you don't reuse their CFN templates, reading them will at least give you all details about the setup that you need to make to get this cross-account access to work.

Best,

Didier

profile pictureAWS
エキスパート
回答済み 5ヶ月前
  • Hey, i already found this article, it suggest an interesting approach, but i want to know if there is a way to do it without "third-party" services.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ