Cannot load data sets after downloading of shakespeare.json, account zip, logs.json

hallo

I have trouble when i was trying to Add Json file at my own dashboard.
I have already following steps by step from elastic official.
https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html

After set up a mapping for the Shakespeare data set on kibana dev tools.
i am following the next step to load the data sets with code :
curl -u elastic -H 'Content-Type: application/x-ndjson' -XPOST '100.100.200.150:5601/bank/_bulk?pretty' --data-binary @accounts.json

there is has an error code after input of my root password : {"statusCode":404,"error":"Not Found","message":"Not Found"}.
anyone knows what happend here?

Can you try :

Include password as below
curl -u elastic:PasswordHerePlease -H 'Content-Type: application/x-ndjson' -XPOST '100.100.200.150:5601/bank/_bulk?pretty' --data-binary @accounts.json

then execute this command where the file accounts.json is in.

hallo inhinyera16

thanks for your respond
am sorry for late replying.

i have already put my password root as my root password
its still same error.

Many thanks for your respond.

i have already found what was my problem is.

Its should to use PORT of ELASTICSEARCH as 9200. not using port of kibana as 5601. thanks

oh didnt even noticed that :smile:

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