# How to map new created fields into existing index?

**URL:** <https://discuss.elastic.co/t/how-to-map-new-created-fields-into-existing-index/93955>\
**Category:** Logstash\
**Created:** [July 20, 2017, 1:53pm UTC](https://discuss.elastic.co/t/how-to-map-new-created-fields-into-existing-index/93955 "2017-07-20T13:53:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![moabbas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moabbas/32/19231_2.png) [@moabbas](https://discuss.elastic.co/u/moabbas)\
**Post date:** [July 20, 2017, 1:53pm UTC](https://discuss.elastic.co/t/how-to-map-new-created-fields-into-existing-index/93955/1 "2017-07-20T13:53:07Z")

</div>

I already have index in elasticsearh, i added new field in logstash to my index like the follow:

mutate {

```
                    add_field => {"[location]" => ["%{lat}","%{lon}"]}
               }

         mutate {
                 convert => {
                             "[location][lat]" => "float"
                             "[location][lon]" => "float"
                            }

```

I found the new field as i want but i couldn't map the location to be geo\_point  
Any suggestions ?  
Thanks

---

<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:** [August 17, 2017, 1:53pm UTC](https://discuss.elastic.co/t/how-to-map-new-created-fields-into-existing-index/93955/2 "2017-08-17T13:53:10Z")

</div>

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