1
上下文:logstash elasticsearch輸出插件。logstash的elasticsearch輸出插件重試個別批量錯誤?
當批量請求中的單個操作失敗時,是否會在以下批量請求中重試? (或個別請求丟失?)
關於這方面的文檔在我看來不是很清楚。
上下文:logstash elasticsearch輸出插件。logstash的elasticsearch輸出插件重試個別批量錯誤?
當批量請求中的單個操作失敗時,是否會在以下批量請求中重試? (或個別請求丟失?)
關於這方面的文檔在我看來不是很清楚。
它看起來像插件解析響應,並分別處理每個動作的結果 - Plugin code
所以下面的重試警察適用於個人行動 - Plugin retry policy
不良反應的例子:
{
"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
}}
]
}