# Newbie, stuck in 1st tutorial

**URL:** <https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660>\
**Category:** Kibana\
**Created:** [February 10, 2017, 1:55pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660 "2017-02-10T13:55:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asperamanca](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Asperamanca](https://discuss.elastic.co/u/Asperamanca)\
**Post date:** [February 10, 2017, 1:55pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/1 "2017-02-10T13:55:30Z")

</div>

I have ElasticSearch 5.2 and Kibana 5.2 up and running, and I am connected to Kibana via browser (localhost:5601).

I tried to get the "[Loading sample data](https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html)" tutorial to run, but lack some information.

Where am I supposed to place the downloaded and unpacked sample data?

Currently, I am stuck with this command:  
`POST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json`  
I get the result  
`No handler found for uri [/%27localhost:9200/bank/account/_bulk?pretty%27%20--data-binary%20@accounts.json] and method [POST]`

Any hints?

---

<div class="post-metadata">

**Author:** ![rashid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashid/32/12566_2.png) [@rashid](https://discuss.elastic.co/u/rashid)\
**Post date:** [February 10, 2017, 2:12pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/2 "2017-02-10T14:12:33Z")

</div>

It looks like maybe you're pasting that into the console under Dev Tools in Kibana? The tutorial is designed to be used with your system command line and the `curl` utility.

---

<div class="post-metadata">

**Author:** ![Asperamanca](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Asperamanca](https://discuss.elastic.co/u/Asperamanca)\
**Post date:** [February 10, 2017, 2:44pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/3 "2017-02-10T14:44:59Z")

</div>

I suspected something like that, but since the tutorial doesn't specify where to enter the commands, the dev tools in Kibana seemed to be the obvious choice

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 10, 2017, 10:40pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/4 "2017-02-10T22:40:03Z")

</div>

Thanks for commenting on this, I've raised [https://github.com/elastic/kibana/pull/10298](https://github.com/elastic/kibana/pull/10298) to see if we can clarify the docs.

---

<div class="post-metadata">

**Author:** ![raviscal](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@raviscal](https://discuss.elastic.co/u/raviscal)\
**Post date:** [February 10, 2017, 11:01pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/5 "2017-02-10T23:01:10Z")

</div>

Try using the browser add on 'sense'. that makes life easy.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 10, 2017, 11:35pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/6 "2017-02-10T23:35:26Z")

</div>

Sense = Console, it's now built into Kibana.

---

<div class="post-metadata">

**Author:** ![Asperamanca](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Asperamanca](https://discuss.elastic.co/u/Asperamanca)\
**Post date:** [February 13, 2017, 9:13am UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/7 "2017-02-13T09:13:18Z")

</div>

Thanks for your comments. Once you know that curl is an external 3rd party tool (and not a builtin command), things make sense and it's easy to look up further information.

The "data mapping" part of the sample doesn't seem to work on my windows command line. Fortunately, that part can easily be done in the Kibana console  
Here is the 1st error message I get:

> {"error":{"root\_cause":[{"type":"security\_exception","reason":"missing authentication token for REST request [/shakespeare]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security\_exception","reason":"missing authentication token for REST request [/shakespeare]","header":{"WWW-Authenticate":"Basic realm="security"

Also, what's slightly confusing is that this is a Kibana tutorial, but doesn't seem to need Kibana at all - only Elasticsearch.

---

<div class="post-metadata">

**Author:** ![Asperamanca](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Asperamanca](https://discuss.elastic.co/u/Asperamanca)\
**Post date:** [February 13, 2017, 9:14am UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/8 "2017-02-13T09:14:33Z")

</div>

What's really stopping me now it this strange error:

> curl -XPOST 'localhost:9200/shakespeare/\_bulk?pretty' --data-binary @shakespeare.json  
> curl: (6) Couldn't resolve host ''localhost'

---

<div class="post-metadata">

**Author:** ![Prajakta\_Mahajan](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@Prajakta\_Mahajan](https://discuss.elastic.co/u/Prajakta_Mahajan)\
**Post date:** [March 6, 2017, 12:17pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/9 "2017-03-06T12:17:38Z")

</div>

I have signed up for elastic cloud ([https://cloud.elastic.co](https://cloud.elastic.co)), so if it's not the Kibana console, where do I run these curl bulk commands?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 8, 2017, 7:39pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/10 "2017-03-08T19:39:45Z")

</div>

You run then in a shell command somewhere.

---

<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:** [April 5, 2017, 7:39pm UTC](https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660/11 "2017-04-05T19:39:55Z")

</div>

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