Modified ES host to replace underscore in hostname with hostname compliant dash as was getting 'the scheme http does not accept registry part'