Skip to content

Instantly share code, notes, and snippets.

@stefpe
Created February 13, 2019 12:44
Show Gist options
  • Save stefpe/bc1ffdb00cb53fab8f7134fcbe446dd7 to your computer and use it in GitHub Desktop.
Save stefpe/bc1ffdb00cb53fab8f7134fcbe446dd7 to your computer and use it in GitHub Desktop.
Feed elasticsearch with curl bulk request
curl -XPOST http://localhost:9200/_bulk?pretty --data-binary @/tmp/all.txt -H 'Content-Type: application/json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment