修复 queue.mem 和 flush.min_events 冲突的bug #51

Merged
pengln merged 1 commits from pengln/filebeat:master into master 2021-12-23 10:24:44 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@ logging.json: false
queue.mem: queue.mem:
events: {{ filebeat_queue_mem_events | default(1024) }} events: {{ filebeat_queue_mem_events | default(1024) }}
flush.min_events: {{ filebeat_queue_mem_flush_min_event | default(512) }}
filebeat.inputs: filebeat.inputs:
- type: log - type: log
paths: {{ logs[log_type]['paths'] }} paths: {{ logs[log_type]['paths'] }}