Switch analytics to Elasticsearch

Replace influxdb with Elasticsearch for our analytics storage.