【发布时间】:2020-12-08 06:08:06
【问题描述】:
弹性管道have an on_failure attribute 中的单个处理器。这允许您处理管道中的故障/错误。文档中的示例显示在您的文档上设置一个附加字段。
{
"description" : "my first pipeline with handled exceptions",
"processors" : [
{
"rename" : {
"field" : "foo",
"to" : "bar",
"on_failure" : [
{
"set" : {
"field" : "error.message",
"value" : "{{ _ingest.on_failure_message }}"
}
}
]
}
}
]
}
如果管道中的任何处理器发生故障,是否可以告诉管道跳过导入文档?
【问题讨论】:
标签: elasticsearch elastic-pipeline