# Mapping index template

**URL:** <https://discuss.elastic.co/t/mapping-index-template/97540>\
**Category:** Kibana\
**Created:** [August 18, 2017, 8:57am UTC](https://discuss.elastic.co/t/mapping-index-template/97540 "2017-08-18T08:57:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DharaniKumar](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Post date:** [August 18, 2017, 8:57am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/1 "2017-08-18T08:57:50Z")

</div>

I need to map my filebeat index template in kibana.  
[https://pastebin.com/raw/7fmbBfTc](https://pastebin.com/raw/7fmbBfTc)  
This is my index and i need to put it into kibana.  
When i used PUT /\_template/filebeat command it throws validation exception, template is missing error.  
If anyone know about this issue you are welcomed to help...!!!

---

<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:** [August 18, 2017, 9:48am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/2 "2017-08-18T09:48:46Z")

</div>

Please post the entire error.

```auto
total_fields": {
"limit": "10000"
}

```

That is very dangerous, why is it so large?

You should also look to split out the different types in your index.

---

<div class="post-metadata">

**Author:** ![DharaniKumar](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Post date:** [August 18, 2017, 9:50am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/3 "2017-08-18T09:50:58Z")

</div>

This is the error i got when i used PUT \_template/filebeat:  
{  
"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:** ![DharaniKumar](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Post date:** [August 18, 2017, 11:00am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/4 "2017-08-18T11:00:09Z")

</div>

> [@warkolm](#):
>
> That is very dangerous, why is it so large?

Why it is dangerous warkolm?

---

<div class="post-metadata">

**Author:** ![DharaniKumar](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Post date:** [August 18, 2017, 11:01am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/5 "2017-08-18T11:01:18Z")

</div>

> [@warkolm](#):
>
> You should also look to split out the different types in your index.

different types in index ???????

---

<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:** [August 19, 2017, 5:08am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/6 "2017-08-19T05:08:24Z")

</div>

> [@DharaniKumar](#):
>
> Why it is dangerous warkolm?

You can ignore that point, I didn't realise that was the actual template we provided.

---

<div class="post-metadata">

**Author:** ![DharaniKumar](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@DharaniKumar](https://discuss.elastic.co/u/DharaniKumar)\
**Post date:** [August 19, 2017, 5:11am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/7 "2017-08-19T05:11:12Z")

</div>

what is the solution for that error?  
Even i loaded my template once again and tried putting my mapping into template it showing this error.

---

<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:** [September 16, 2017, 5:11am UTC](https://discuss.elastic.co/t/mapping-index-template/97540/8 "2017-09-16T05:11:34Z")

</div>

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