add size limit to logstash data