Make elasticsearch server address configurable