add elastic search logging