|
@@ -6,19 +6,18 @@ server:
|
|
redisPrefix: "es"
|
|
redisPrefix: "es"
|
|
elasticSearch:
|
|
elasticSearch:
|
|
address:
|
|
address:
|
|
- - "http://192.168.3.149:9201"
|
|
|
|
- - "http://192.168.3.241:9206"
|
|
|
|
|
|
+ - "http://192.168.3.241:9205"
|
|
pool:
|
|
pool:
|
|
- simple: 50
|
|
|
|
|
|
+ simple: 5
|
|
aggs: 2
|
|
aggs: 2
|
|
complex: 2
|
|
complex: 2
|
|
- waitTime: 5000 #单位秒
|
|
|
|
|
|
+ waitTime: 50 #单位秒
|
|
complexQueryLen: 200 #查询条件复杂长度
|
|
complexQueryLen: 200 #查询条件复杂长度
|
|
threshold: 13
|
|
threshold: 13
|
|
|
|
|
|
reverseProxy:
|
|
reverseProxy:
|
|
- timeout: 150
|
|
|
|
- keepAlive: 600
|
|
|
|
|
|
+ timeout: 15
|
|
|
|
+ keepAlive: 60
|
|
maxIdleConns: 100
|
|
maxIdleConns: 100
|
|
idleConnTimeout: 60
|
|
idleConnTimeout: 60
|
|
tLSHandshakeTimeout: 15
|
|
tLSHandshakeTimeout: 15
|
|
@@ -27,7 +26,7 @@ elasticSearch:
|
|
|
|
|
|
queryState:
|
|
queryState:
|
|
cron: "*/10 * * * * *"
|
|
cron: "*/10 * * * * *"
|
|
- curlAddr: "http://192.168.3.241:9206/_nodes/stats?pretty&human&filter_path=nodes.*.thread_pool.search"
|
|
|
|
|
|
+ curlAddr: "http://192.168.3.241:9205/_nodes/stats?pretty&human&filter_path=nodes.*.thread_pool.search"
|
|
|
|
|
|
#elasticsearch: #查询es状态携带账户密码
|
|
#elasticsearch: #查询es状态携带账户密码
|
|
# username: aaa
|
|
# username: aaa
|
|
@@ -48,4 +47,7 @@ logger:
|
|
rotateBackupCompress: 0 # 滚动切分文件的压缩比(0-9)。默认为0,表示不压缩
|
|
rotateBackupCompress: 0 # 滚动切分文件的压缩比(0-9)。默认为0,表示不压缩
|
|
rotateCheckInterval: "1h" # 滚动切分的时间检测间隔,一般不需要设置。默认为1小时
|
|
rotateCheckInterval: "1h" # 滚动切分的时间检测间隔,一般不需要设置。默认为1小时
|
|
stdoutColorDisabled: false # 关闭终端的颜色打印。默认开启
|
|
stdoutColorDisabled: false # 关闭终端的颜色打印。默认开启
|
|
- writerColorEnable: false # 日志文件是否带上颜色。默认false,表示不带颜色
|
|
|
|
|
|
+ writerColorEnable: false # 日志文件是否带上颜色。默认false,表示不带颜色
|
|
|
|
+
|
|
|
|
+-logTime: 1
|
|
|
|
+-logEquity: false
|