0

我正在尝试部署 zeebe 集群并使用外部弹性搜索在 kubernetes 上运行。问题是 elasticsearch 的版本是 7.9.2 但根据文档,它仅与 elasticsearch 6.8.13 兼容,并且在查看日志时我收到以下消息:

{"error":{"root_cause":[{"type":"parse_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]: [failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"operate-operation-0.26.0_","node":"3bbob-UKTBuU71ucWEHbtg","reason":{"type":"parse_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]: [failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]]","caused_by":{"type":"illegal_argument_exception","reason":"failed to parse date field [2021-01-27T20:16:30.802+0000] with format [date_time]","caused_by":{"type":"date_time_parse_exception","reason":"Text '2021-01-27T20:16:30.802+0000' could not be parsed at index 23"}}}}]},"status":400}

我看到问题出在日期字段的格式上。有没有办法解决这个错误?

4

1 回答 1

1

根据Zeebe 论坛上的讨论和链接的相当老的问题(支持Elasticsearch 7 #3445),它确实仍然不支持弹性搜索 7。问题中报告了这个日期错误:

Operate 在 ELK 7.6 上大部分工作 - 尝试在 UI 中管理工作流实例时会出现问题(例如取消或重试) - 它会引发一堆错误并无限期地旋转(与向 Zeebe 添加内容时的 ELK 日志相同)指数):

原因:org.elasticsearch.ElasticsearchParseException:无法解析日期字段 [2020-05-06T23:46:34.477-0400] 格式为 [date_time]:[无法解析日期字段 [2020-05-06T23:46:34.477- 0400] 格式为 [date_time]]

看起来您应该将您的 elasticsearch 降级到版本 6.8.13 或等待开发人员有更多时间解决此问题。

于 2021-01-27T21:22:19.657 回答