# Problems doing an \_update\_by\_query with the logstash http output plugin

**URL:** https://discuss.elastic.co/t/problems-doing-an-update-by-query-with-the-logstash-http-output-plugin/139057
**Category:** Logstash
**Created:** [July 8, 2018, 2:17pm UTC](https://discuss.elastic.co/t/problems-doing-an-update-by-query-with-the-logstash-http-output-plugin/139057 "2018-07-08T14:17:08Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Efrain\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@Efrain\_Gonzalez](https://discuss.elastic.co/u/Efrain_Gonzalez)
#### Post date: [July 10, 2018, 2:25pm UTC](https://discuss.elastic.co/t/problems-doing-an-update-by-query-with-the-logstash-http-output-plugin/139057/3 "2018-07-10T14:25:03Z")

</div>

My problem seems quite similar to the one reported here....

> [@How to update a document in elasticsearch with logstash http output plugin](https://discuss.elastic.co/t/how-to-update-a-document-in-elasticsearch-with-logstash-http-output-plugin/107995):
>
> Hi all.... Here i am trying to update a document in elasticsearch with the help of output logstash http plugin here is my logstash conf input { elasticsearch { hosts =\> "192.168.1.59:9233" index =\> "titanic\_kfk\_shrink" query =\> '{ "query":{ "match" : { "PassengerId" : "200" } }, "sort": ["\_doc"] }' size =\> 5000 scroll =\> "5m" docinfo =\> true docinfo\_target =\> "@metadata" } } output { stdout { codec =\> rubydebug { metadata =\> true } }…

Regards

---

_[View the full topic](https://discuss.elastic.co/t/problems-doing-an-update-by-query-with-the-logstash-http-output-plugin/139057)._
