If the length of a field value exceeds the upper limit, the field value is truncated, and the excess part is not retained for query or analysis.
The following list describes the limits on the lengths of field values that can be retained for query and analysis in Simple Log Service:
When you query logs, the maximum length of a field value that can be retained for query is 524,288 bytes, which is equivalent to 512 KB.
When you analyze logs, the default maximum length of a field value that can be retained for analysis is 2,048 bytes, which is equivalent to 2 KB. The maximum length can be extended to 16,384 bytes, which is equivalent to 16 KB.
If you want to change the maximum length of a field value, you can configure the Maximum Statistics Field Length parameter. You can specify a value that ranges from 64 to 16,384 bytes. For more information, see Create indexes.