fixes elasticsearch error output
elastic search has configurable host