Added segment to logstash redis input and elasticsearch output