openedx-vlead / cc-pf-tests

Contains scripts for calculating performance of the college cloud server
0 stars 1 forks source link

How to insert bulk data to kibana? #2

Open Karthik183 opened 7 years ago

Karthik183 commented 7 years ago

inserting bulk data which is in .json format into kibana

Karthik183 commented 7 years ago

Use the following command to insert data in kibana.json to the index named vlead. curl -XPOST localhost:9200/vlead/my_doc_type/_bulk --data-binary @kibana.json

Note: This works only when your .json file is in the following format:-

{"index": {}} { "cs": 306, "id": 98, "buff": 120}

{"index": {}} { "cs": 2262, "id": 98, "buff": 120}