DEV Community

ChungWei Wei
ChungWei Wei

Posted on • Originally published at kmp.tw on

[AWS] How To Query CloudWatch Logs Using Amazon Athena

Situation

Integration Cloud Watch & Amazon Athena

Step 1 : Add Athena Data Source

img01

Choice Amazon CloudWatch Logs

img02

Enter Source Name And Click Create Connector Lambda Function

img03

In Application Settings, Enter Your Bucket Name To SpillBucket, Then Click Deploy

img04
img14

img05

Go Back To Athena Page, And Click Next

img06

After Review, Click Create Data Source

img07
img08

Step 2 : Create WorkGroup

Enter WorkGroup Name, Choice Engine Type.

img09

In Query Edit Console, Add Query Result Bucket And Click Save.

img10
img11

Step 3 : Go To Athena Edit Page, Enter Query & Run That.

img12
img13

Top comments (0)