# Update existing index template

**URL:** https://discuss.elastic.co/t/update-existing-index-template/95117
**Category:** Logstash
**Created:** [July 31, 2017, 5:02am UTC](https://discuss.elastic.co/t/update-existing-index-template/95117 "2017-07-31T05:02:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shivram\_Subramanian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shivram_subramanian/32/20598_2.png) [@Shivram\_Subramanian](https://discuss.elastic.co/u/Shivram_Subramanian)
#### Post date: [July 31, 2017, 5:02am UTC](https://discuss.elastic.co/t/update-existing-index-template/95117/1 "2017-07-31T05:02:07Z")

</div>

I have an existing template with specific properties that are applied when new indexes are created.  
For example, this exists

> ```
> {
> "final1-template": {
> "order": 0,
> "template": "final-*",
> "settings": {},
> "mappings": {
> "userjourney": {
> "properties": {
> "method": {
> "type": "text"
> },
> "page-uuid": {
> "type": "integer"
> }
> }
> }
> }
> 
> ```

In the above, I want to add a new 'mapping'. Is this possible?

> {  
> "final1-template": {  
> "order": 0,  
> "template": "final-\*",  
> "settings": {},  
> "mappings": {  
> "userjourney": {  
> "properties": {  
> "method": {  
> "type": "text"  
> },  
> "page-uuid": {  
> "type": "integer"  
> }  
> "newABC": {  
> "type": "integer"  
> }  
> }  
> }  
> }

---

<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: [July 31, 2017, 5:03am UTC](https://discuss.elastic.co/t/update-existing-index-template/95117/2 "2017-07-31T05:03:45Z")

</div>

What have you tried? Did you get errors, what were they?

---

<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 28, 2017, 5:03am UTC](https://discuss.elastic.co/t/update-existing-index-template/95117/3 "2017-08-28T05:03:48Z")

</div>

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