I sometimes receive messages that are huge... (719939 bytes) and indexation to elasticsearch failed with a max_bytes_length_exceeded_exception (max limit is 32766 bytes).
I want to detect those messages in kibana, so I would like to do with logstash something like that:
if len(message) > 10000 {
message = message[0:10000] // get only the first bytes
set tags => ["long message"]
}
However I didn't find that kind of filter.
Did I miss something?
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.