add pre-send hook with logstash event