Hello,
I am new to Elastic. I am trying to build my home lab at my Windows laptop.
I am using Elastic and Kibana at Windows. I want to upload shakespeare_6.0.json with the following command from the documentation says.
https://www.elastic.co/guide/en/kibana/6.1/tutorial-load-dataset.html
But I got the following message as below.
Could you please advise me what I am doing wrong in here?
curl_7_53_1_openssl_nghttp2_x64>curl -H 'Content-Type: application/x-ndjson' -XPOST -u elastic 'localhost:9200/shakespeare/doc/_bulk?pretty' --data-binary @shakespeare_6.0.json
Enter host password for user 'elastic':
curl: (52) Empty reply from server
curl: (6) Could not resolve host: 'localhost
I have checked this from chome browser as below.
http://localhost:9200/
{
"name" : "CND7083L5YZBOOK",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "-a31QYZmRPuYMxXJNND5TA",
"version" : {
"number" : "6.1.2",
"build_hash" : "5b1fea5",
"build_date" : "2018-01-10T02:35:59.208Z",
"build_snapshot" : false,
"lucene_version" : "7.1.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}