# Updating data in elasticsearch with logstash

**URL:** https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346
**Category:** Logstash
**Created:** [July 24, 2018, 9:55am UTC](https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346 "2018-07-24T09:55:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mohamed\_Sidibe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohamed_sidibe/32/33629_2.png) [@Mohamed\_Sidibe](https://discuss.elastic.co/u/Mohamed_Sidibe)
#### Post date: [July 24, 2018, 9:55am UTC](https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346/1 "2018-07-24T09:55:12Z")

</div>

Hello,  
I'm new on ELK, please can someone tell me how to update data in elasticsearch with logstash config.  
I'm working on app that send log data (userId, appVersion, date) to elasticsearch whenever client get logged. i want to update the field appVersion whenever client get the app updated to a new version.

thank youu.

---

<div class="post-metadata">

### Author: ![Charaf\_Ahmed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/charaf_ahmed/32/30467_2.png) [@Charaf\_Ahmed](https://discuss.elastic.co/u/Charaf_Ahmed)
#### Post date: [July 24, 2018, 9:58am UTC](https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346/2 "2018-07-24T09:58:08Z")

</div>

> [@Mohamed\_Sidibe](#):
>
> Hello,  
> I'm new on ELK, please can someone tell me how to update data in elasticsearch with logstash config.  
> I'm working on app that send log data (userId, appVersion, date) to elasticsearch whenever client get logged. i want to update the field appVersion whenever client get the app updated to a new version.
> 
> thank youu.

I think this link could help you : [How to update a field type of existing index in Elasticsearch](https://discuss.elastic.co/t/how-to-update-a-field-type-of-existing-index-in-elasticsearch/53892)

---

<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 21, 2018, 9:58am UTC](https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346/3 "2018-08-21T09:58:08Z")

</div>

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