I am new to elasticsearch, running elasticsearch from chrome:extension- Postman. I want to enter bulk data into it, from JSON using Bulk API. I have seen the command :
curl -s -XPOST 'http://jfblouvmlxecs01:9200/_bulk' --data-binary @bulk.json
While using Postman, I do not know where to store the file @bulk.json,
Currently I have stored it at C:\elasticsearch-1.5.2\bin\bulk.JSON
The command I am using is http://localhost:9200/_bulk --data-binary @bulk.JSON
This is throwing following error:
"error": "InvalidIndexNameException[[_bulk --data-binary @bulk.JSON] Invalid index name [_bulk --data-binary @bulk.JSON], must not contain the following characters [\, /, *, ?, \", <, >, |, , ,]]", "status": 400 }
Can someone please suggest, where to store the JSON file. Or am I doing something wrong here.