upgrade scripts for elasticsearch and logstash