I have been working my way through the Getting Started with Kibana tutorial (https://www.elastic.co/guide/en/kibana/current/getting-started.html) and ran into some issues with loading the Bank dataset into Elasticsearch.
curl -XPOST 'localhost:9200/bank/_bulk?pretty' --data-binary @accounts.json
{
"error" : {
"root_cause" : [ {
"type" : "action_request_validation_exception",
"reason" : "Validation Failed: 1: type is missing;2: type is missing;3: type is missing;4: type is missing;5: type is missing;6: type is missing;7: type is missing;8: ...."
} ],
"type" : "action_request_validation_exception",
"reason" : "Validation Failed: 1: type is missing;2: type is missing;3: type is missing;4: type is missing;5: type is missing;6: type is missing;7: type is missing;8:
...."
},
"status" : 400
}
I was able to load the Shakespeare and Logstach data sets without any issue.