Cant load dataset

(Rajashree Gr) #1

I'm following the Tutorial -

I'm stuck in the step - Load the data sets.
On running the curl upload command -
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json,
I'm getting the error 'curl: (52) Empty reply from server'.

I'm running Elastic Search on docker. On listing the docker containers it shows the below containers are running successfully. "/usr/local/bin/kiba…" 2 hours ago Up 2 hours (healthy)>5601/tcp kibana
a3aa8556c225 "/usr/local/bin/dock…" 2 hours ago Up 2 hours (healthy) 5044/tcp, 9600/tcp logstash
79c75ecde762 "/usr/local/bin/dock…" 2 hours ago Up 2 hours (healthy)>9200/tcp, 9300/tcp elasticsearch

But when I checked for [http://localhost:9200/bank ] it is not up & running. Not sure what is wrong here.
Please help me to understand the issue.

(Kanagat) #2

hi @Rajashree_Gr , can you send result of command:

curl localhost:9200

Can yo send output of logs of running docker container?

sudo docker logs docker_container_id

(Rajashree Gr) #3

Hi @nugusbayevkk, I see some errors in log file. I will try to resolve it and let you know.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.