im stuck at the tutorial to load demo data, maybe someone of you can help me to continue:
I try this line in console (Kibana): curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json
and i get:
{
"statusCode": 400,
"error": "Bad Request",
"message": "child "method" fails because ["method" must be one of [HEAD, GET, POST, PUT, DELETE]]",
"validation": {
"source": "query",
"keys": [
"method"
]
}
}
Can anyone tell me whats wrong?
ES is installed on a Mac with Sierra, all works fine at installation. I got no error message at installing Kibana and Elasticsearch.
Hi Mark,
i tried it with your proposal, but the error message is the same. I tried the tutorial, so i assume there are no typo in this tutorial. Maybe my installation is wrong?
Hallo again,
If i try in browser http://localhost:9200/bank i get {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"bank","index_uuid":"_na_","index":"bank"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"bank","index_uuid":"_na_","index":"bank"},"status":404}
Of course not, because im stuck in the chapter before. Normally it makes no sense to continue a tutorial if a step won't work. Especially not in the beginning.
I tried now to define the index for shakes* and it works. To create a second index for ba* won't work.
What tells you in result of cat that i can't expect a result of .../bank?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.