Fix elasticsearch hosts.