Sample Flask app to return average response times from logstash+elasticsearch