1
votes

On the AWS website, it states that the CloudWatch logs batch size is 1 MB (maximum). This quota can't be changed.

Can you explain what this means? Is a batch a log group or a log stream? What's the difference?

1

1 Answers

0
votes

Batch in this context referrers to a collection/set of log events uploaded to CloudWatch Logs at once.

For example, instead of uploading log events to your log stream on one-by-one basis, you can upload multiple events at once using using AWS CLI put-log-events. The collection of these multiple events is called a batch and its maximum size is 1 MB.

Uploading events in batches, saves you the number of API requests you would have to perform, when uploading individual events only.