Cloud Watch logs for long term retention

0

You can store your log data in Cloud Watch Logs for as long as you want. By default, Cloud Watch Logs will store your log data indefinitely. You can change the retention for each Log Group at any time. Besides being a little pricey with $0.50 per GB ingested. Is there a maximum size of Cloud watch logs. Sure you can export Cloud watch to S3 etc.... for long term retention. BUT Do we see customers retaining long term log archive in cloudwatch logs . I mean 10 of TB saved for years?

已提問 7 年前檢視次數 2097 次
1 個回答
1
已接受的答案

It would not make sense to use CloudWatch logs for long term retention. As you say, best practice is that if log data is needed to be retained for historical reasons that it is exported to S3 and then put in Glacier via S3 lifecycle rules leading to long term cold storage pricing from $0.004 / GB.

Typically, long term logging data is only required for compliance / legal reasons and is not something that would require frequent access so why pay more in CloudWatch?

In terms of maximum size, I do not believe there is an upper limit (or rather one which someone would hit) By default, CloudWatch Logs will store your log data indefinitely. The documentation implies that there is no upper limit to how much data can be stored:

Log data can be stored and accessed indefinitely in highly durable, low-cost storage so you don’t have to worry about filling up hard drives.

Other than 5GB of storage for the free tier, there is no mention of an upper limit for log storage in the CloudWatch logs limits documentation

Best regards

AWS
Steve
已回答 7 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南