# Load template in kibana

**URL:** <https://discuss.elastic.co/t/load-template-in-kibana/103120>\
**Category:** Kibana\
**Created:** [October 7, 2017, 5:36pm UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120 "2017-10-07T17:36:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [October 7, 2017, 5:36pm UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/1 "2017-10-07T17:36:46Z")

</div>

Hi Guys,

This might sound stupid but would like to know what is the use of tempalate in kibana? and how do I load the template in kibana? E.g. look here and how do I load this template in kibana?

Can someone please help? [https://github.com/robcowart/elastiflow](https://github.com/robcowart/elastiflow)

---

<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:** [October 7, 2017, 6:43pm UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/2 "2017-10-07T18:43:31Z")

</div>

You need to use Console, just paste the json in and you should be good.

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [October 8, 2017, 2:48am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/3 "2017-10-08T02:48:27Z")

</div>

I see and no GET/POST? Simply copy/paste, right?

---

<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:** [October 8, 2017, 2:50am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/4 "2017-10-08T02:50:16Z")

</div>

It still needs to be a post. If you are using curl, just copy the entire thing in and it will reformat though.

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [October 8, 2017, 2:52am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/5 "2017-10-08T02:52:12Z")

</div>

Great...just last .POST to where I mean if you can tell me the entire query please? I know I am asking basic question but still I am learning and not aware of couple of thigs.

Thanks for bearing with me 🙂

---

<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:** [October 8, 2017, 2:57am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/6 "2017-10-08T02:57:44Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/indices-templates.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/indices-templates.html) has a fair bit of that.

But when you use Console, you are implicitly talking to the lElasticsearch cluster directly.

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [October 8, 2017, 3:04am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/7 "2017-10-08T03:04:21Z")

</div>

Hmmmm here is error I am encountering with the template given in my github

```
# PUT _template/elastiflow.kibana.json

```

{  
"error": {  
"root\_cause": [  
{  
"type": "action\_request\_validation\_exception",  
"reason": "Validation Failed: 1: template is missing;"  
}  
],  
"type": "action\_request\_validation\_exception",  
"reason": "Validation Failed: 1: template is missing;"  
},  
"status": 400  
}

---

<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:** [October 8, 2017, 3:15am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/8 "2017-10-08T03:15:47Z")

</div>

You cannot load a file, you need to insert the contents of that into Console.

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [October 8, 2017, 3:25am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/9 "2017-10-08T03:25:39Z")

</div>

hey I am so sorry may be we are not on same page and I am really not sure what esatly needs to be done . I would really appreciate if you can share what exactly needs to be typed in console? Please?

I have done this, is it no OK?

This json file seems to be dashboard to me!

```
    PUT {
"_id": "ca480720-2fdf-11e7-9d02-3f49bde5c1d5",
"_type": "dashboard",
"_source": {
  "title": "Netflow: Flow Records",
  "hits": 0,
  "description": ""

```

.  
.  
.  
.  
:{"query":"\*","analyze\_wildcard":true}},"filter":[]}"  
}  
}  
}

---

<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:** [November 5, 2017, 3:26am UTC](https://discuss.elastic.co/t/load-template-in-kibana/103120/10 "2017-11-05T03:26:35Z")

</div>

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