Logstash truncate long message

I was getting an error in logstash like

Since I have moved the multiline stuff to filebeat I guessed this was caused overtime by very long messages. Decided to truncate the long messages.
This is how I do it for now. I know logstash has a truncate plugin but didn’t want to install an additional plugin just for that.


Recent Posts

Recent Comments

Categories