Apologies if this is out there, but I can't seem to figure it out. I have a folder called 'data' that consists of 10,000 geo json files.
I want to be able to upload the entire folder at once. I've tried
curl -XPOST "http://localhost:9200/customer/customer/1/_bulk" --data-binary "@data"
But this gives me:
Warning: Couldn't read data from file "data", this makes an empty
Warning: POST.
No handler found for uri [/customer/customer/1/_bulk] and method [POST]