I am new to Elasticsearch and until now I entered data manually. For example, I did something like this:
$ curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{ "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elastic Search" }'
Now I have a .json file and I want to index it in Elasticsearch. I also tried something similar, but to no avail:
curl -XPOST 'http://jfblouvmlxecs01:9200/test/test/1' -d lane.json
How to import a .json file? Are there any steps I need to take to make sure the matching is correct?
json elasticsearch
Shawn Roller Apr 10 '13 at 21:18 2013-04-10 21:18
source share