# How to partial update es in the output plugin of logstash

**URL:** <https://discuss.elastic.co/t/how-to-partial-update-es-in-the-output-plugin-of-logstash/315864>\
**Category:** Logstash\
**Created:** [October 5, 2022, 11:03am UTC](https://discuss.elastic.co/t/how-to-partial-update-es-in-the-output-plugin-of-logstash/315864 "2022-10-05T11:03:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juno163](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@Juno163](https://discuss.elastic.co/u/Juno163)\
**Post date:** [October 5, 2022, 11:03am UTC](https://discuss.elastic.co/t/how-to-partial-update-es-in-the-output-plugin-of-logstash/315864/1 "2022-10-05T11:03:22Z")

</div>

By default, logstash output cannot partial update Elasticsearch but fully update.  
In my case, I can only search some fields which need to update, when it comes to es, the fields which didn't searched will update as blank, it's not as expected.  
for example, I have a document with {"a":1,"b":2}, my event is {"a":3}, my expected update result is {"a":3,"b":2}, but actually it's {"a":3}.  
so how to partial update es in the output plugin of logstash? thanks first if any guys can help.

---

<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:** [November 2, 2022, 11:03am UTC](https://discuss.elastic.co/t/how-to-partial-update-es-in-the-output-plugin-of-logstash/315864/2 "2022-11-02T11:03:44Z")

</div>

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