# How to update index?

**URL:** https://discuss.elastic.co/t/how-to-update-index/213550
**Category:** Logstash
**Created:** [January 2, 2020, 10:08am UTC](https://discuss.elastic.co/t/how-to-update-index/213550 "2020-01-02T10:08:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)
#### Post date: [January 2, 2020, 10:08am UTC](https://discuss.elastic.co/t/how-to-update-index/213550/1 "2020-01-02T10:08:04Z")

</div>

I have this output plugin in Logstash to create elastic search index.

```
output {
    amazon_es {
       hosts => ["https://xxxxxxxxxxxxxxxx.es.amazonaws.com/"]
       region => "ap-southeast-1"
       index => "studentservice-logs-%{+YYYY.MM.dd}"
   }
}

```

I want to update this index later because there will be some new fields added by _mutate_ for some specific log messages.

How to update this index ?

---

<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 30, 2020, 10:08am UTC](https://discuss.elastic.co/t/how-to-update-index/213550/2 "2020-01-30T10:08:06Z")

</div>

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