I am trying to deploy zeebe cluster and operate on kubernetes with an external elasticsearch. The problem is that the version of elasticsearch is 7.9.2 but according to the documentation, it is only compatible with elasticsearch 6.8.13 and when reviewing the logs I get this message:
{"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}
I see that the problem is due to the format of the date field. Is there a way to fix that error?
According to this discussion on Zeebe forum and the linked quite old issue (Support Elasticsearch 7 #3445) it really still does not support elasticsearch 7. And this date error was reported in the issue:
Looks like you should downgrade your elasticsearch to version 6.8.13 or wait when the developer will have more time to fix this.