# Kibana console introduction

**URL:** <https://discuss.elastic.co/t/kibana-console-introduction/93575>\
**Category:** Kibana\
**Created:** [July 18, 2017, 12:04pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575 "2017-07-18T12:04:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvaro13](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@alvaro13](https://discuss.elastic.co/u/alvaro13)\
**Post date:** [July 18, 2017, 12:04pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/1 "2017-07-18T12:04:17Z")

</div>

Hello all,

I am trying to get familiarized with my kibana UI DevTools.

I am following this manual

> **[A Practical Introduction to Elasticsearch](https://www.elastic.co/blog/a-practical-introduction-to-elasticsearch)**
>
> Ready to try Elasticsearch and see results? Copy and paste these requests to get started.

It is clear when I run this command on URL \> GET localhost:9200

However, how can I do this on the DevTools? what is the sintax to get the same output?

Same here \>

POST localhost:9200/accounts/person/1  
{  
"name" : "John",  
"lastname" : "Doe",  
"job\_description" : "Systems administrator and Linux specialit"  
}

Is this something I can get in the kibana console or do I need to run it in my terminal osx?

Thanks

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [July 18, 2017, 4:13pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/2 "2017-07-18T16:13:14Z")

</div>

If I understand what you're asking correctly, the only thing that you need to change in order to get that request to work in the Dev Tools is to remove the host and port... ie:

```auto
# Create the accounts index, and a single document
POST accounts/person/1
{
  "name": "John",
  "lastname": "Doe",
  "job_description": "Systems administrator and Linus specialist"
}

# Retrieve that document
GET accounts/person/1

# Delete the accounts index
DELETE accounts

```

 ![](https://us1.discourse-cdn.com/elastic/original/3X/c/7/c78da4b8b705ae0b4726c712a41c5bbab769aa73.gif)

---

<div class="post-metadata">

**Author:** ![alvaro13](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@alvaro13](https://discuss.elastic.co/u/alvaro13)\
**Post date:** [July 18, 2017, 4:59pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/3 "2017-07-18T16:59:35Z")

</div>

Indeed thats correct, I was able to run it that way.  
However when I tried to do \> POST accounts/person/1/\_update  
to update the typo is gicing me an error \>

{  
"error": {  
"root\_cause":[  
{  
"type":"action\_requested\_validation\_exeption",  
"reason": "validation failed: 1: script or doc is missing;"  
}  
],  
"type":"action\_requested\_validation\_exeption",  
"reason": "validation failed: 1: script or doc is missing;"  
},  
"status":400  
}

Thanks!

---

<div class="post-metadata">

**Author:** ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)\
**Post date:** [July 18, 2017, 5:02pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/4 "2017-07-18T17:02:42Z")

</div>

You don't need the `_update`. Just `POST` the new version of the document.

```auto
POST accounts/person/1
{
  "name": "John",
  "lastname": "Doep",
  "job_description": "I am the updated description"
}

# Response (note version: 2)
{
  "_index": "accounts",
  "_type": "person",
  "_id": "1",
  "_version": 2,
  "result": "updated",
  "_shards": {
    "total": 2,
    "successful": 1,
    "failed": 0
  },
  "_seq_no": 1,
  "_primary_term": 1,
  "created": false
}

```

---

<div class="post-metadata">

**Author:** ![alvaro13](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@alvaro13](https://discuss.elastic.co/u/alvaro13)\
**Post date:** [July 18, 2017, 5:10pm UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/5 "2017-07-18T17:10:46Z")

</div>

gotcha! I got this, haha I am starting sorry for the questions, I appreciate your help, I am prolly coming back to ask more.

Thanks again!

---

<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:** [August 17, 2017, 10:57am UTC](https://discuss.elastic.co/t/kibana-console-introduction/93575/7 "2017-08-17T10:57:09Z")

</div>

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