增加推送ES时的压缩级别设置,默认0不压缩 #18
|
@ -50,6 +50,7 @@ output.elasticsearch:
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
bulk_max_size: 1500
|
bulk_max_size: 1500
|
||||||
|
compression_level: {{ compression_level | default(0) }}
|
||||||
worker: 1
|
worker: 1
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ output.elasticsearch:
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
bulk_max_size: 1500
|
bulk_max_size: 1500
|
||||||
|
compression_level: {{ compression_level | default(0) }}
|
||||||
worker: 3
|
worker: 3
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue