Docker Community Forums

Share and learn in the Docker community.

Awslogs driver batch_size is too small

Expected behavior

Able to specify the max size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

Actual behavior

Not able to change max size of logs events, therefore log events which size is more than 32768 bytes (e.g stacktraces) are cut into few log events. As a result we are getting few log events within CloudWatch log group.