Bulk Insert Error Logging


(Kevin M.) #1

I am using the bulk insert end point to insert batches of 1000 records into Elasticsearch and everything is working as expected. However, I am getting at least some individual errors for some of the index statements and my question is, if I have say 7 records in a group of 1000 that throw an error because of a malformed date in the same field, is it a true statement that Elasticsearch will only write the error out to the log one time? That is, I won't see log entries for all 7 malformed dates? I understand that I can iterate over the bulk response to look for the specific records that failed, but I really don't need to know that right now, I just need to know at a higher level what errors are occurring so I can fix the data. Just want to make sure I understand all that correctly. Thanks.

Kevin


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.