RDS/Postgres logs to S3

0

Hello,

I am looking for an automated way to ship/stream RDS logs 'Postgresql' to S3 to be picked up by another lambda function in order to ship the file to elastic cluster running on EC2.

I published the logs to CloudWatch logs but the only way to send it to S3 is by manually selecting the bucket and the date range. There is option to use CloudWatch Logs Subscription Filters to stream the logs to S3. However, we are looking for something more simpler and cheaper.

Any thoughts?

1 Antwort
0
Akzeptierte Antwort

I think that Kinesis Data stream might be best fit for this case. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs//Subscriptions.html) - Please, use kinesis data stream instead of kinesis firehose.

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen