Pb in kibana elastic.co tutorial

in https://www.elastic.co/guide/en/kibana/current/getting-started.html
when i import data in elasticsearch for accounts.json and logstash.jsonl
curl -XPOST 'localhost:9200/bank/_bulk?pretty' --data-binary xxx.json
I get this error
"ActionRequestValidationException[Validation Failed: 1: type is missing,....
How to solve this please ?

Mr. Hebert:

Hi! I'm the technical writer who wrote up the tutorial. I'll take a look and see what the issue is. I'll post again when I have information.

edit: Well, the good news is it's not just you; I've replicated your error. I'll keep digging.


Mr. Hebert:

The command to import the Accounts dataset is incorrect; please use

curl -XPOST 'localhost:9200/accounts/account/_bulk?pretty' --data-binary @accounts.json

instead. I'll update the document later today.

The Logstash data set needs to be edited here and replaced at the download site; I'll update you when that's done.

Mr. Hebert:

I've updated the tutorial directions and corrected the Logstash dataset; please re-download and check the updated directions and let me know if you have any further trouble.


Paul E.

The problem seems to have come back. I was getting "type is missing" until I used your command. Elasticsearch 2.0, OSX El Capitan

Your command works: curl -XPOST 'localhost:9200/accounts/account/_bulk?pretty' --data-binary @accounts.json

But in the documentation is says: curl -XPOST 'localhost:9200/bank/_bulk?pretty' --data-binary @accounts.json

Here's a link to the documentation page this can be found: https://www.elastic.co/guide/en/kibana/current/getting-started.html

Btw, I forgot to update the thread earlier!

Thanks for reporting this, we filed an issue and are looking into this: https://github.com/elastic/kibana/issues/5220