# 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:** 1
**Showing post:** 2

<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)

---

_[View the full topic](https://discuss.elastic.co/t/updating-data-in-elasticsearch-with-logstash/141346)._
