天天看點

ERROR [] - method [PUT], host [http://localhost:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]

之前用的是6.x的skywalking和6.x的es,發現沒有問題,直接就起來的。

最近再敲谷粒商城的時候,正好有es7.4,就直接用了,skywalking的版本也為7,選擇它為存儲的時候,啟動就直接報錯。

ERROR [] - method [PUT], host [http://localhost:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]

然後再谷歌進行搜尋了一下,應該是不支援的原因。

ERROR [] - method [PUT], host [http://localhost:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]

我選擇了es6.4,就可以跑起來了

ERROR [] - method [PUT], host [http://localhost:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]

但是看配置,有一個專門的elasticsearch7的存儲方式,我沒有選擇,還有一個專門的es7版本

應該是專門用來支援es7的。