Skip to content

Bulk Ingestion

Bulk ingestion

Bulk ingestion API follows same interface as Elasticsearch API defined in Elasticsearch documentation.

Here is a sample of how to use it:

curl -L https://github.com/zinclabs/zinc/releases/download/v0.1.1/olympics.ndjson.gz -o olympics.ndjson.gz
gzip -d  olympics.ndjson.gz 
curl http://localhost:4080/api/_bulk -i -u admin:Complexpass#123  --data-binary "@olympics.ndjson"