# Kibana Tutorial 404 Error

**URL:** <https://discuss.elastic.co/t/kibana-tutorial-404-error/200552>\
**Category:** Kibana\
**Created:** [September 22, 2019, 12:18am UTC](https://discuss.elastic.co/t/kibana-tutorial-404-error/200552 "2019-09-22T00:18:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElkLearner115](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@ElkLearner115](https://discuss.elastic.co/u/ElkLearner115)\
**Post date:** [September 22, 2019, 12:18am UTC](https://discuss.elastic.co/t/kibana-tutorial-404-error/200552/1 "2019-09-22T00:18:40Z")

</div>

Hi I'm new to ELK and was trying to go through the Kibana tutorial. I am having issues loading the sample data set shakespeare, account and logs

I tried both with curl and powershell loading the data:

curl -elastic -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:5601/shakespeare/\_bulk?pretty' --data-binary @shakespeare.json

Invoke-RestMethod "[http://localhost:5601/shakespeare/\_bulk?pretty](http://localhost:5601/shakespeare/_bulk?pretty)" -Method Post -ContentType 'application/x-ndjson' -InFile "shakespeare.json"

But I am getting the error: {"statusCode":404,"error":"Not Found","message":"Not Found"}

I already created the mappings in Kibana and running these commands in the directory where the data is located. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 22, 2019, 1:52am UTC](https://discuss.elastic.co/t/kibana-tutorial-404-error/200552/2 "2019-09-22T01:52:10Z")

</div>

Hi @ElkLearner115

p  
Port 5601 is for kibana you need to load the data into elasticsearch which runs on Port 9200  
Also you have an extra `-elastic` that is incorrect syntax if you want to pass a user name and password but I suspect you have not set that up yet which is fine for learning.

Try this...

`curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/_bulk?pretty' --data-binary @shakespeare.json`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 20, 2019, 1:52am UTC](https://discuss.elastic.co/t/kibana-tutorial-404-error/200552/3 "2019-10-20T01:52:14Z")

</div>

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