Elasticsearch · Arazzo Workflow
Elasticsearch Bulk Load and Verify
Version 1.0.0
Check the cluster can take writes, push an NDJSON bulk payload, verify the resulting document count, and inspect the index.
Provider
Workflows
bulk-load-and-verify
Submit a bulk NDJSON payload and confirm the documents actually landed.
Verifies cluster health, submits the bulk payload, checks the per-item errors flag, counts the documents now matching in the index, and reads the cat indices view for the resulting size on disk.
1
checkClusterReady
clusterHealth
Read cluster health before a volume write, so a red cluster stops the load rather than absorbing a partial ingest.
2
submitBulk
bulk
Submit the NDJSON payload. A 200 here only means the batch was processed, not that every item succeeded, so the errors flag is captured as an output for the caller to assert on.
3
verifyCount
searchDsl
Count the documents now present in the index with a match_all query, giving an independent confirmation that the bulk load landed.
4
inspectIndex
catIndices
Read the cat indices view with verbose headers for a human-readable summary of the index health, document count, and store size after the load.