# Pb in kibana elastic.co tutorial

**URL:** <https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252>\
**Category:** Kibana\
**Created:** [June 24, 2015, 10:28am UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252 "2015-06-24T10:28:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eheb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eheb/32/3450_2.png) [@eheb](https://discuss.elastic.co/u/eheb)\
**Post date:** [June 24, 2015, 10:28am UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/1 "2015-06-24T10:28:10Z")

</div>

in [https://www.elastic.co/guide/en/kibana/current/getting-started.html](https://www.elastic.co/guide/en/kibana/current/getting-started.html)  
when i import data in elasticsearch for accounts.json and logstash.jsonl  
curl -XPOST 'localhost:9200/bank/\_bulk?pretty' --data-binary xxx.json  
I get this error  
"ActionRequestValidationException[Validation Failed: 1: type is missing,....  
How to solve this please ?

---

<div class="post-metadata">

**Author:** ![Paul\_Echeverri](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Paul\_Echeverri](https://discuss.elastic.co/u/Paul_Echeverri)\
**Post date:** [June 24, 2015, 5:50pm UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/2 "2015-06-24T17:50:37Z")

</div>

Mr. Hebert:

Hi! I'm the technical writer who wrote up the tutorial. I'll take a look and see what the issue is. I'll post again when I have information.

edit: Well, the good news is it's not just you; I've replicated your error. I'll keep digging.

pe

---

<div class="post-metadata">

**Author:** ![Paul\_Echeverri](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Paul\_Echeverri](https://discuss.elastic.co/u/Paul_Echeverri)\
**Post date:** [June 24, 2015, 10:50pm UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/3 "2015-06-24T22:50:36Z")

</div>

Mr. Hebert:

The command to import the Accounts dataset is incorrect; please use

> curl -XPOST 'localhost:9200/accounts/account/\_bulk?pretty' --data-binary @accounts.json

instead. I'll update the document later today.

The Logstash data set needs to be edited here and replaced at the download site; I'll update you when that's done.

---

<div class="post-metadata">

**Author:** ![Paul\_Echeverri](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Paul\_Echeverri](https://discuss.elastic.co/u/Paul_Echeverri)\
**Post date:** [June 25, 2015, 8:59pm UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/5 "2015-06-25T20:59:31Z")

</div>

Mr. Hebert:

I've updated the tutorial directions and corrected the Logstash dataset; please re-download and check the updated directions and let me know if you have any further trouble.

Best,

Paul E.

---

<div class="post-metadata">

**Author:** ![Robert\_Grzesik](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@Robert\_Grzesik](https://discuss.elastic.co/u/Robert_Grzesik)\
**Post date:** [October 28, 2015, 8:59pm UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/6 "2015-10-28T20:59:35Z")

</div>

The problem seems to have come back. I was getting "type is missing" until I used your command. Elasticsearch 2.0, OSX El Capitan

Your command works: curl -XPOST 'localhost:9200/accounts/account/\_bulk?pretty' --data-binary @accounts.json

But in the documentation is says: curl -XPOST 'localhost:9200/bank/\_bulk?pretty' --data-binary @accounts.json

Here's a link to the documentation page this can be found: [https://www.elastic.co/guide/en/kibana/current/getting-started.html](https://www.elastic.co/guide/en/kibana/current/getting-started.html)

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [November 5, 2015, 6:01am UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/7 "2015-11-05T06:01:57Z")

</div>

Btw, I forgot to update the thread earlier!

Thanks for reporting this, we filed an issue and are looking into this: [https://github.com/elastic/kibana/issues/5220](https://github.com/elastic/kibana/issues/5220)

---

<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:** [July 6, 2017, 2:09pm UTC](https://discuss.elastic.co/t/pb-in-kibana-elastic-co-tutorial/24252/8 "2017-07-06T14:09:52Z")

</div>


