# Elasticsearch mapping not reflecting logstash fields

**URL:** <https://discuss.elastic.co/t/elasticsearch-mapping-not-reflecting-logstash-fields/212228>\
**Category:** Elasticsearch\
**Created:** [December 17, 2019, 9:13pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-not-reflecting-logstash-fields/212228 "2019-12-17T21:13:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwalls](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jwalls](https://discuss.elastic.co/u/jwalls)\
**Post date:** [December 17, 2019, 9:13pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-not-reflecting-logstash-fields/212228/1 "2019-12-17T21:13:54Z")

</div>

I have my logstash index template to detect a field type called `klocker_app_name`. I currently have logstash set up to pull from 2 redis instances, and on checking the docker logs, I see the template with the field is being installed properly:

```auto
Attempting to install template {:manage_template=>{"template"=>"logstash-*", "order"=>1, "index_patterns"=>["logstash*"], "settings"=>{"number_of_shards"=>2, "number_of_replicas"=>1}, "mappings"=>{"doc"=>{"properties"=>{"time"=>{"type"=>"date", "format"=>"basic_time_no_millis"}, "before"=>{"type"=>"date", "format"=>"strict_date_time"}, "after"=>{"type"=>"date", "format"=>"strict_date_time"}, "logsource"=>{"type"=>"ip"}, "klocker_app_name"=>{"type"=>"text", "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}}}}

```

however when checking the current day's mapping on ES, I do not see `klocker_app_name` appearing on the list. What could be causing this? I see the other fields that i specified in the template such as `before` and `logsource`

---

<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:** [January 14, 2020, 9:14pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping-not-reflecting-logstash-fields/212228/2 "2020-01-14T21:14:00Z")

</div>

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