output {
stdout {
codec => rubydebug
}
http {
```
url => "http://localhost:9200/test1/_update_by_query?q=id:1"
http_method => "post"
format => "json"
```
}
}
Tried this for update by query in logstash output. Got below error
[2019-03-08T16:17:34,642][ERROR][logstash.outputs.http ] [HTTP Output Failure] Encountered non-2xx HTTP code 400 {:response_code=>400, :url=>"http://localhos
, :will_retry=>false}by_query?q=_id:1", :event=>2019-03-08T10:47:33.712Z CHNMCT123553L 1,samplexml
Can you help on this?