Logstash config parameter to handle large messages from rsyslog server

Hello Team

Developers use on the device a conf with a max size of 65MB because of bigger core dumps.

$MaxMessageSize 65536k

What will be the logstash configuration parameter to handle these big-size messages? our current conf is as below

data:
      logstash.conf: |
        input {
            tcp {
                port                  => 5140
                type                  => "device-logs"
                ssl_enable            => "true"
                tcp_keep_alive        => "true"
                ssl_cert              => "/etc/pki/logstash/syslog-listener.crt"
                ssl_key               => "/etc/pki/logstash/syslog-listener.key"
                ssl_extra_chain_certs => ["/etc/pki/logstash/syslog-listener-ca.crt"]
                ssl_certificate_authorities => ["/etc/pki/logstash/syslog-listener-ca.crt"]
            }
        }