Kafka itself enforces a limit on message sizes. You will have to update the kafka brokers to allow for bigger messages.
beats kafka output checks the JSON encoded event size. If the size hits the limit in the output, the event is dropped
the max_bytes setting sets the log message size. The encoded event can be much bigger, due to additional fields + string escaping. That is max_bytes should be somewhat smaller then the max event size allowed by kafka and the kafka output in beats.
If you are fine with the default event limit in kafka, try reducing max_bytes somewhat more.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.