天天看点

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的。