How to increase byte size in processing in logstash?

This is a characteristic/protection on the elasticsearch side, for more information you can see a similar discuss topic: UTF8 encoding is longer than the max length 32766