How to limit Logstash message size?

Hi @McJava1967 in this case the issue is related to Nginx. In most cases you need to increase the client_max_body_size setting in Nginx. Most of the time approx 10 Mb should be sufficient.

For reference here Filebeat setup errors - payload