Unable to bul index

I am new to windows . I was working my entire on linux. Can somebody help me here for _bulk api indexing

C:\ELK\master-1\elasticsearch\sample_data>curl -k -H 'Content-Type: application/x-ndjson' -X POST 'https://localhost:9200/bank/_bluk?pretty' -d @accounts.json
curl: (6) Could not resolve host: application
curl: (3) URL using bad/illegal format or missing URL

First up it's _bulk, not _bluk, so make sure you check for typos.

At a guess, the error you are seeing could be due to the way quotes are interpreted by curl on windows. I would use double quotes instead.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.