forked from ansible-collection/filebeat
Reviewed-on: https://app.amonstack.com:10301/gitea/ansible-collection/filebeat/pulls/13
This commit is contained in:
commit
254874af51
|
@ -9,6 +9,7 @@ filebeat.inputs:
|
||||||
- "/data/log/nginx/error_{{ log }}.log"
|
- "/data/log/nginx/error_{{ log }}.log"
|
||||||
fields:
|
fields:
|
||||||
source: {{ log | regex_replace('\*') }}
|
source: {{ log | regex_replace('\*') }}
|
||||||
|
harvester_buffer_size: 1638400
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
@ -41,6 +42,8 @@ output.elasticsearch:
|
||||||
pipeline: "gwlogs"
|
pipeline: "gwlogs"
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
|
bulk_max_size: 724775731
|
||||||
|
worker: 3
|
||||||
|
|
||||||
|
|
||||||
# ================================= Processors =================================
|
# ================================= Processors =================================
|
||||||
|
|
|
@ -13,6 +13,7 @@ filebeat.inputs:
|
||||||
multiline.skip_newline: true
|
multiline.skip_newline: true
|
||||||
fields:
|
fields:
|
||||||
source: cp
|
source: cp
|
||||||
|
harvester_buffer_size: 1638400
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
filebeat.config.modules:
|
filebeat.config.modules:
|
||||||
|
@ -44,6 +45,8 @@ output.elasticsearch:
|
||||||
pipeline: "cplogs"
|
pipeline: "cplogs"
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
|
bulk_max_size: 724775731
|
||||||
|
worker: 3
|
||||||
|
|
||||||
|
|
||||||
# ================================= Processors =================================
|
# ================================= Processors =================================
|
||||||
|
|
Loading…
Reference in New Issue