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

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs