Make elasticsearch URL configurable