Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75470

Error when trying to send large log to Cloudwatch

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • amazon-ecs-plugin
    • None

      I am using the amazon-ecs plugin with the Build Controller running as an ECS Service.

      I am using the https://hub.docker.com/r/jenkins/inbound-agent/ Docker image

      During a build, the inbound agent intermittently fails with this message:

      com.amazonaws.services.logs.model.InvalidParameterException: Upload too large: 1048708 bytes exceeds limit of 1048576 (Service: AWSLogs; Status Code: 400; Error Code: InvalidParameterException; Request ID: e5e6d9c5-b56d-4f78-a123-a5d2e61518cd; Proxy: null) 

      I can confirm that I am using the pipeline-cloudwatch-logs plugin v 178.vf18b_230618a_4

      I accept that my logs are quite large. However, I wonder if it is possible for the controller to upload logs more often, so that each log is smaller than 1 mb

            roehrijn2 Jan Roehrich
            chandana_desilva_id_au Chandana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: