SD-247 Implement Elasticsearch gateway