Compare commits

..

2 Commits

1 changed files with 5 additions and 2 deletions

View File

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