update to use logstash 1.2 event + enable configuring the events type from a rails application