# Static mapping looks like dynamic in Kibana

**URL:** <https://discuss.elastic.co/t/static-mapping-looks-like-dynamic-in-kibana/125977>\
**Category:** Elasticsearch\
**Created:** [March 28, 2018, 5:32pm UTC](https://discuss.elastic.co/t/static-mapping-looks-like-dynamic-in-kibana/125977 "2018-03-28T17:32:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doritos250](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@Doritos250](https://discuss.elastic.co/u/Doritos250)\
**Post date:** [March 28, 2018, 5:32pm UTC](https://discuss.elastic.co/t/static-mapping-looks-like-dynamic-in-kibana/125977/1 "2018-03-28T17:32:08Z")

</div>

Hi everyone,

I'm currently changing my template mapping from Dynamic to Static.

I've done the following actions on Kibana regardless old data:

- Delete Index in Kibana
- Delete template
- delete related indice

Then:

- Upload the new static template
- Sending new logs and waiting them to appears
- Create a new Index again with Kibana

Every previous step has worked well, except that I'm surprised about the numbers of fields displayed on Kibana after index creation.

I actually obtained more recognized fields (most of them are indexed) compared to fields that are added with dynamic template

I've expected to only catch a small amount of fields (maximum 10)  
Here the following mapping

\<"mappings": {  
"doc": {  
"properties": {  
"@timestamp" : { "type" : "date" },  
"@version" : { "type" : "keyword", "index" : false },  
"uri" : { "type" : "keyword" },  
"duration" : { "type" : "integer" },  
"status" : { "type" : "keyword" }  
}  
}  
}\>

-\> Do I have to specificly exclude other fields?  
-\> Does it matter with the way I manage my pattern?

I'm currently use ELK 6.2.

Thanks in advance!

---

<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:** [April 25, 2018, 5:32pm UTC](https://discuss.elastic.co/t/static-mapping-looks-like-dynamic-in-kibana/125977/2 "2018-04-25T17:32:25Z")

</div>

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