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.

asked 2 years ago2191 views
1 Answer
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
SUPPORT ENGINEER
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions