diff --git a/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml b/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml index 028ce99..65346c6 100644 --- a/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml +++ b/playbooks/roles/filebeat/templates/filebeat-gateway-nginx-template.yml @@ -50,6 +50,7 @@ output.elasticsearch: username: {{ es_user }} password: {{ es_passwd }} bulk_max_size: 1500 + compression_level: {{ compression_level | default(0) }} worker: 1 diff --git a/playbooks/roles/filebeat/templates/filebeat-manager-template.yml b/playbooks/roles/filebeat/templates/filebeat-manager-template.yml index d05a8df..9546f22 100644 --- a/playbooks/roles/filebeat/templates/filebeat-manager-template.yml +++ b/playbooks/roles/filebeat/templates/filebeat-manager-template.yml @@ -54,6 +54,7 @@ output.elasticsearch: username: {{ es_user }} password: {{ es_passwd }} bulk_max_size: 1500 + compression_level: {{ compression_level | default(0) }} worker: 3