fix collector cannot start issue

This commit is contained in:
zhangxin 2017-04-19 22:38:38 +08:00
parent 87e4647706
commit e068f183fc
1 changed files with 1 additions and 1 deletions

View File

@ -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();