Storing CloudWatch Logs into S3 (some structured format)

1.1k views Asked by At

I have a CloudWatch Log Group, this log group continuously receives logging information from my AWS services.

I want to extract some of the logging information from this log-group and want to store that data into S3 in some format (CSV, PARQUET).

I will then use Athena to query this logging data.

I want some sort of automatic mechanism to send these logs continuously to S3.

Can anyone suggest solution for this?

1

There are 1 answers

1
Philipp Johannis On

It looks like Athena is able to communicate directly with cloudwatch as shown here. Not sure how performant this is and how costly this turns out.

The other option is to configure Cloudwatch to send data to Firehose via Subscriptions which then dumps it to S3.