Set PATH for elasticsearch.