Input STDIN 4096 character input limit?

File wc:

#] wc file
   1   22 4097 file

Processing some json from the STDIN input I get the following:

:exception=>#<LogStash::Json::ParserError: Unexpected end-of-input in VALUE_STRING
at [Source: [B@1d6f5292; line: 1, column: 8191]>, :level=>:warn}

After cutting off sections of the data piece by piece I was able to get it to successfully output to the stdout rubydebug codec when the character count was at or below 4096.

Is there a known issue in regards to large sets of json data being pass through the STDIN input?

Tried on logstash latest stable and 5.0.2 in docker and also outside of docker.

Hi!

It looks like this limit is hard-coded in plugin source (size in bytes):