properly updated buffer(bulk array) while rollback.
properly updated buffer(bulk array) while rollback.

Each object of buffer is expected to have 3 keys: index, type and doc.
While creating body each object of buffer is broken into 2 object, so while rollback merged these 2 object back into one before adding into buffer.
vanthome/winston-elasticsearch,jackdbernier/winston-elasticsearch