Process - Reshape a CSV file using logstash

would that require changing the ruby code you provided? or the way I'm processing the file? I don't have enough knowledge in that context.