if elasticsearch is pointed to local stats, remove hostname entirely