make elasticsearch host configurable