diff --git a/apps/emqx_bridge_s3/src/emqx_bridge_s3_upload.erl b/apps/emqx_bridge_s3/src/emqx_bridge_s3_upload.erl
index 6f79de907..c1a6ee6f7 100644
--- a/apps/emqx_bridge_s3/src/emqx_bridge_s3_upload.erl
+++ b/apps/emqx_bridge_s3/src/emqx_bridge_s3_upload.erl
@@ -161,7 +161,7 @@ fields(s3_aggregation) ->
emqx_schema:duration_s(),
#{
required => false,
- default => <<"1h">>,
+ default => <<"30m">>,
desc => ?DESC(s3_aggregation_interval)
}
)},
@@ -170,7 +170,7 @@ fields(s3_aggregation) ->
pos_integer(),
#{
required => false,
- default => <<"1000000">>,
+ default => <<"100000">>,
desc => ?DESC(s3_aggregation_max_records)
}
)}
diff --git a/rel/i18n/emqx_bridge_s3_upload.hocon b/rel/i18n/emqx_bridge_s3_upload.hocon
index 8b3768078..dbda1d6ce 100644
--- a/rel/i18n/emqx_bridge_s3_upload.hocon
+++ b/rel/i18n/emqx_bridge_s3_upload.hocon
@@ -73,17 +73,17 @@ s3_aggregated_upload_key.desc:
"""Template for the S3 object key of an aggregated upload.
Template may contain placeholders for the following variables:
${action}
: name of the action (required).${node}
: name of the EMQX node conducting the upload (required).${action}
: name of the action (required).${node}
: name of the EMQX node conducting the upload (required).${datetime.{format}}
: date and time when aggregation started, formatted according to the {format}
string (required):
${datetime.rfc3339utc}
: RFC3339-formatted date and time in UTC,${datetime.rfc3339}
: RFC3339-formatted date and time in local timezone,${datetime.unix}
: Unix timestamp.${datetime.rfc3339utc}
: RFC3339-formatted date and time in UTC,${datetime.rfc3339}
: RFC3339-formatted date and time in local timezone,${datetime.unix}
: Unix timestamp.${datetime_until.{format}}
: date and time when aggregation ended, with the same formatting options.${sequence}
: sequence number of the aggregated upload within the same time interval (required).${datetime_until.{format}}
: date and time when aggregation ended, with the same formatting options.${sequence}
: sequence number of the aggregated upload within the same time interval (required).