How to partial update es in the output plugin of logstash

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.

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