log errors from elasticsearch bulk index