Add support to configure an external elastic search instance.