Importar / indexar um arquivo JSON para o Elasticsearch

Eu sou novo no Elasticsearch e tenho entrado dados manualmente até este ponto. Por exemplo, eu fiz algo assim:

$ curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{
    "user" : "kimchy",
    "post_date" : "2009-11-15T14:12:12",
    "message" : "trying out Elastic Search"
}'

Agora tenho um arquivo .json e quero indexar isso no Elasticsearch. Eu tentei algo assim também, mas sem sucesso:

curl -XPOST 'http://jfblouvmlxecs01:9200/test/test/1' -d lane.json

Como importo um arquivo .json? Há etapas que preciso fazer primeiro para garantir que o mapeamento esteja correto?

questionAnswers(11)

yourAnswerToTheQuestion