# how to update index already created with the latest update deployed in the stack

**URL:** <https://discuss.elastic.co/t/how-to-update-index-already-created-with-the-latest-update-deployed-in-the-stack/361494>\
**Category:** Elasticsearch\
**Created:** [June 14, 2024, 12:53pm UTC](https://discuss.elastic.co/t/how-to-update-index-already-created-with-the-latest-update-deployed-in-the-stack/361494 "2024-06-14T12:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Redrao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ricardo_redrao/32/135284_2.png) [@Ricardo\_Redrao](https://discuss.elastic.co/u/Ricardo_Redrao)\
**Post date:** [June 14, 2024, 12:53pm UTC](https://discuss.elastic.co/t/how-to-update-index-already-created-with-the-latest-update-deployed-in-the-stack/361494/1 "2024-06-14T12:53:21Z")

</div>

Hi everyone,

I deployed scripts for various stacks in Logstash to perform the respective ETL processes and filters. However, when I later incorporated new calculations into the stack called "prueba," the updates only impacted new documents being generated and not the existing indexes.

I would appreciate any suggestions on how to run a script in Dev Tools to completely update all my indexes.

Thank you very much for your help!

Best regards,  
Ricardo

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 14, 2024, 12:54pm UTC](https://discuss.elastic.co/t/how-to-update-index-already-created-with-the-latest-update-deployed-in-the-stack/361494/2 "2024-06-14T12:54:26Z")

</div>

Welcome!

How would the existing being updated if you are not reindexing?  
Could be a bit more explicit about what you are doing?

Also note that you might want to use [runtime fields](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html).
