Compare commits

...

2 Commits

1 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,15 @@
logging.json: false
queue.mem:
events: {{ filebeat_queue_mem_events | default(1024) }}
filebeat.inputs:
- type: log
paths: {{ logs[log_type]['paths'] }}
{% if "exclude_files" in logs[log_type] -%}
exclude_files: {{ logs[log_type]['exclude_files'] }}
{% endif -%}
harvester_buffer_size: 40960
harvester_buffer_size: 2048
ignore_older: {{ filebeat_older }}
tail_files: {{ filebeat_tail_files | string | lower }}
@ -49,7 +52,7 @@ output.elasticsearch:
password: {{ logs[log_type]['es_passwd'] | default('') }}
{% endif -%}
bulk_max_size: 1500
bulk_max_size: {{ filebeat_bulk_max_size | default(500) }}
flush_interval: 5s
compression_level: {{ filebeat_compression_level }}
worker: {{ filebeat_output_works }}