提交 e068f183 编写于 作者: Z zhangxin

fix collector cannot start issue

上级 87e46477
......@@ -28,7 +28,7 @@ public enum EsClient {
public void boot() throws UnknownHostException {
Settings settings = Settings.builder()
.put("cluster.NAME", EsConfig.Es.Cluster.NAME)
.put("cluster.name", EsConfig.Es.Cluster.NAME)
.put("client.transport.sniff", EsConfig.Es.Cluster.Transport.SNIFFER)
.build();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册