Skip to content

Commit

Permalink
feat(keeper): filebeat config template support more settings (#111)
Browse files Browse the repository at this point in the history
Co-authored-by: Pengfei Xue <[email protected]>
  • Loading branch information
xpofei and Pengfei Xue authored Dec 21, 2020
1 parent 9a3a355 commit 13a6d7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/filebeat-keeper/filebeat.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit 13a6d7c

Please sign in to comment.