Load config from elastic search