redirect to es server