Add logstash gem and generate log in json format