Skip to content

Commit 7c85150

Browse files
committed
Increase MAX_EVENT_LEN to match current max
1 parent f1ba23a commit 7c85150

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/out_cloudwatch_logs/cloudwatch_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
/* Maximum number of character limits including both the Attributes key and its value */
4444
#define ATTRIBUTES_MAX_LEN 300
4545

46-
/* 256KiB minus 26 bytes for the event */
47-
#define MAX_EVENT_LEN 262118
46+
/* 1MiB minus 26 bytes for the event */
47+
#define MAX_EVENT_LEN 1048550
4848

4949
/* Prefix used for entity fields only */
5050
#define AWS_ENTITY_PREFIX "aws_entity"

0 commit comments

Comments
 (0)