Does Logstash has a limit size for each event-message?

Turns out that you can set a limit for the multiline filter, but not for the XML one.