Hi! In the end, that was one of several issues, but I wouldn't have known until I made a change to the bulk error checking:
if (responseForBulkIndex.errors) {
console.log("Elastic:createIndicesReader:runBulkInsert:responseForBulkIndex.errors")
responseForBulkIndex.items.forEach(function(error) {
console.log("Elastic:createIndicesReader:runBulkInsert:responseForBulkIndex.error", error)
})
process.exit(1)
}
Here, I'm looping over the [object] items to get at what was inside them, which was a stream of errors.
It would be useful to have Elastic surface these errors instead of burying them.