1

Is there a way to set AWS Cloudwatch batch_size and batch_limit options in the Cloudwatch constructor?

I have been trying to do something like this

var cloudwatch = new AWS.CloudWatch(
                   batch_size: 1000,
                   batch_count: 10
                 )

This is because I get the exception that the logs exceed the limit. InvalidParameterException: Upload too large: 1049972 bytes exceeds limit of 1048576

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Clement Okyere
  • 251
  • 1
  • 6
  • 12

0 Answers0