Cloudwatch logs serving Jenkins build logs taking 30 seconds to load
We are using the Jenkins Pipeline Plugin for Cloudwatch logs on a Jenkins instance. It simultaneously uploads and downloads the console logs for our jobs. Initially the console logs loaded pretty much instantaneously however as we have added more instances to our account this duration has increased dramatically taking up to 30 seconds in some instances. Intermittently we receive the following com.amazonaws.services.logs.model.AWSLogsException: Rate exceeded Researching on the web and it appears we're exceeding our CloudWatch API limits. Would anyone be able to tell me where I can view these limits within our account and how to request to have them increased? Any help would be greatly appreciated.
Thanks, Mark.
Hi Mark, thanks for reaching out!
You can review your CloudWatch Logs quotas using the Service Quotas console for CloudWatch Logs. This will show you your default and current Logs quotas, as well as which quotas can be increased.
You can determine which CloudWatch Logs API is being throttled by checking the Logs service usage metrics in the AWS/Usage namespace, and checking for ThrottleCount metrics related to Logs APIs. Once you have that info, you can use the Service Quotas console to request a limit increase for the affected API, as long as that API allows for limit increases.
General info regarding CloudWatch Logs quotas and instructions on requesting increases via the Service Quotas console can be found here.
Relevant questions
Jenkins installed on EC2 instance, but, it doesn't seem to work. Jenkins status says active but nothing runs on port 8080
asked 4 months agoDoes the Jenkins plugin for CodeBuild work with OpenShift provided Jenkins Docker images?
Accepted Answerasked 3 years agoAWS Cloudwatch setup - initial_position parameter in the new logs agent
asked 5 months agoExperience with Cloudformation Plugin for Jenkins
Accepted Answerasked 6 years agoForward AWS Connect CCP Streams Logs to Cloudwatch
asked 8 days agoOn Bitnami's Jenkins Run Docker Commands in Jenkins shell ubuntu
Accepted Answerasked 3 years agoCan I use CloudWatch Logs to trigger a Lambda function?
Accepted Answerasked 2 years agoGG logs are pushed intermittently to cloudwatch
asked 3 months agoCloudwatch logs serving Jenkins build logs taking 30 seconds to load
asked 3 months agoDeleted Jenkins custom action type, now receiving errors
asked 5 years ago