CloudWatch error : An error occurred while describing log groups : Rate exceeded

0

Could anyone please help me how I can solve the below error in AWS.

I am seeing "rate exceeded " error and not able to add/ trigger cloudwatch logs from lamda.

I could see " An error occurred while describing log groups : Rate exceeded " when I am trying to check for cloudwatch logs.

已提問 2 年前檢視次數 2236 次
1 個回答
0

Hello,

You can use the FilterLogEvents or GetLogEvents API calls to list your log events or log streams. These API calls have a hard limit, and don't qualify for a limit increase. This means that if you use the FilterLogEvents API to search for log events from a specified log group, the default quaAPI has a default quota of 5 transactions per second (TPS) per account/Region. If you reach this limit, you receive the RateExceeded error.

Use these best practices to avoid throttling errors in this use case:

Use a subscription filter to immediately retrieve log data from CloudWatch logs in real time. For more information, see Using CloudWatch Logs subscription filters and Real-time processing of log data with subscriptions.

Use CloudWatch logs Insights to quickly get log data from CloudWatch logs. You can use queries to filter your logs to view specific log groups.

Export log data to Amazon Simple Storage Service (Amazon S3) for batch use cases. This method isn't recommended for real-time analysis and processing because log data can take up to 12 hours to become available for export from CloudWatch Logs. Refer the link below for a detailed explanation.

Link- https://aws.amazon.com/premiumsupport/knowledge-center/cloudwatch-logs-throttling/ -- [1]

profile pictureAWS
支援工程師
已回答 2 年前

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

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

回答問題指南