# Template upload results in fields missing from discovery page

**URL:** <https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799>\
**Category:** Kibana\
**Created:** [May 15, 2017, 4:06pm UTC](https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799 "2017-05-15T16:06:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Mendez](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Alex\_Mendez](https://discuss.elastic.co/u/Alex_Mendez)\
**Post date:** [May 15, 2017, 4:06pm UTC](https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799/1 "2017-05-15T16:06:26Z")

</div>

Greetings - i have an issue where I upload a template to be applied to indices that start with logstash\* , The problem i have is that once I upload it the correct fields get their type, integers to be specific. but all fields are missing from the main discovery field. Removal of the template returns the fields ( after deleting the indices and allowing new data to come in and refreshing the fields, but the field format are gone.) While the template is applied the visualizations I have work fine, but I just can't search the data in the discovery window. The fields are missing on the left hand side though.

Anybody have any idea whats happening.

below is the template.

{  
"logstash": {  
"order": 0,  
"template": "logstash\*",  
"settings": {  
"index": {  
"number\_of\_shards": "5"  
}  
},  
"mappings": {  
"application\_logs": {  
"\_source": {  
"enabled": false  
},  
"properties": {  
"rs": {  
"type": "integer"  
},  
"lat\_time": {  
"type": "integer"  
},  
"pt": {  
"type": "integer"  
},  
"input\_bytes": {  
"type": "integer"  
},  
"rtdgp\_host": {  
"index": "true",  
"type": "keyword"  
},  
"scores": {  
"type": "integer"  
},  
"output\_bytes": {  
"type": "integer"  
},  
"app\_depth": {  
"type": "integer"  
},  
"net": {  
"type": "integer"  
},  
"iot": {  
"type": "integer"  
}  
}  
}  
},  
"aliases": {}  
}  
}

---

<div class="post-metadata">

**Author:** ![Alex\_Mendez](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Alex\_Mendez](https://discuss.elastic.co/u/Alex_Mendez)\
**Post date:** [May 16, 2017, 2:46pm UTC](https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799/2 "2017-05-16T14:46:19Z")

</div>

SOLUTION: In the template there is an enabled option, that was set to false. Once I enabled it the fields were available.

"mappings": {  
"application\_logs": {  
"\_source": {  
"enabled": false \< -----  
},

"mappings": {  
"application\_logs": {  
"\_source": {  
"enabled": true \< ---  
},

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [May 17, 2017, 6:14pm UTC](https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799/3 "2017-05-17T18:14:53Z")

</div>

@Alex_Mendez I'm glad to hear that you were able to figure out a solution to your issue, and thank you for posting your solution here so others can find it.

---

<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:** [June 14, 2017, 6:14pm UTC](https://discuss.elastic.co/t/template-upload-results-in-fields-missing-from-discovery-page/85799/4 "2017-06-14T18:14:55Z")

</div>

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