From 13a6d7cdfa029c31cedc78428de221daee05d6b8 Mon Sep 17 00:00:00 2001 From: Pengfei Xue <79534672@qq.com> Date: Mon, 21 Dec 2020 20:12:53 +0800 Subject: [PATCH] feat(keeper): filebeat config template support more settings (#111) Co-authored-by: Pengfei Xue --- build/filebeat-keeper/filebeat.yml.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/filebeat-keeper/filebeat.yml.tpl b/build/filebeat-keeper/filebeat.yml.tpl index 82fe8b46..97781468 100644 --- a/build/filebeat-keeper/filebeat.yml.tpl +++ b/build/filebeat-keeper/filebeat.yml.tpl @@ -2,6 +2,9 @@ http.enabled: true http.host: 0.0.0.0 http.port: 5066 +queue.mem: + events: {{ if .queueEvents }}{{ .queueEvents }}{{ else }}8192{{ end }} + filebeat.config: inputs: enabled: true @@ -107,4 +110,7 @@ output.logstash: {{- if .loadbalance }} loadbalance: {{- if eq .loadbalance "true"}}true{{- else }}false{{- end }} {{- end }} + worker: {{ if .worker }}{{ .worker }}{{ else }}4{{ end }} + pipelining: {{ if .pipelining }}{{ .pipelining }}{{ else }}3{{ end }} + bulk_max_size: {{ if .bulkMaxSize }}{{ .bulkMaxSize }}{{ else }}4096{{ end }} {{- end }}