diff --git a/funtion.go b/funtion.go index 3c383ff..22b65f9 100644 --- a/funtion.go +++ b/funtion.go @@ -80,14 +80,14 @@ func GenAliConfig(level Level) *AliLSConfig { } func GenEsConfig(level Level) *EsConfig { - dsn := "http://es-cn-0pp1mm3hq000dnbh4.public.elasticsearch.aliyuncs.com:9200/" + dsn := "http://es-cn-tl32xlfmu00015h34.public.elasticsearch.aliyuncs.com:9200/" if os.Getenv(envkey) == "prod" || os.Getenv(envkey) == "" || os.Getenv(envkey) == "gray" { - dsn = "http://es-cn-0pp1mm3hq000dnbh4.elasticsearch.aliyuncs.com:9200/" + dsn = "http://es-cn-tl32xlfmu00015h34.elasticsearch.aliyuncs.com:9200/" } c := &EsConfig{ Username: "elastic", - Password: "Hellogaore@", + Password: "f0zCXxh6", Dsn: dsn, Level: level, Index: os.Getenv("GRLOG_APP_NAME"),