增加推送ES时的压缩级别设置,默认0不压缩

This commit is contained in:
pengln 2021-11-16 11:25:38 +08:00
parent 0d5e84e2e5
commit 6209c19282
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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