Add ElasticSearch database writer