Set nginx to log request_time and logstash to detect it.