context: logstash elasticsearch output plugin.
When an individual action in a bulk request fails, will it be retried in a following bulk request? (or the individual request is lost?)
documentation on this is not very clear in my opinion.
It looks like plugin parses the response and processes each action result separately - Plugin code
So the following retry police works for an individual action - Plugin retry policy
Example of the bad response:
{
"took": 3,
"errors": true,
"items": [
{ "create": {
"_index": "website",
"_type": "blog",
"_id": "123",
"status": 409,
"error": "DocumentAlreadyExistsException
[[website][4] [blog][123]:
document already exists]"
}},
{ "index": {
"_index": "website",
"_type": "blog",
"_id": "123",
"_version": 5,
"status": 200
}}
]
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.