forked from ansible-collection/filebeat
#1001590 增加针对业务应用日志的采集
This commit is contained in:
parent
99d5df308f
commit
4263ed1523
|
@ -24,7 +24,7 @@ filebeat.config.modules:
|
||||||
#reload.period: 10s
|
#reload.period: 10s
|
||||||
|
|
||||||
# ======================= Elasticsearch template setting =======================
|
# ======================= Elasticsearch template setting =======================
|
||||||
setup.ilm.enabled: true
|
setup.ilm.enabled: false
|
||||||
setup.template.name: "gw-nginx-ug10cn"
|
setup.template.name: "gw-nginx-ug10cn"
|
||||||
setup.template.pattern: "gw-nginx-*"
|
setup.template.pattern: "gw-nginx-*"
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ output.elasticsearch:
|
||||||
pipeline: "gwlogs"
|
pipeline: "gwlogs"
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
bulk_max_size: 724775731
|
bulk_max_size: 1500
|
||||||
worker: 3
|
worker: 3
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ filebeat.config.modules:
|
||||||
#reload.period: 10s
|
#reload.period: 10s
|
||||||
|
|
||||||
# ======================= Elasticsearch template setting =======================
|
# ======================= Elasticsearch template setting =======================
|
||||||
setup.ilm.enabled: true
|
setup.ilm.enabled: false
|
||||||
setup.template.name: "mgr-cp"
|
setup.template.name: "mgr-cp"
|
||||||
setup.template.pattern: "mgr-cp-*"
|
setup.template.pattern: "mgr-cp-*"
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ output.elasticsearch:
|
||||||
pipeline: "cplogs"
|
pipeline: "cplogs"
|
||||||
username: {{ es_user }}
|
username: {{ es_user }}
|
||||||
password: {{ es_passwd }}
|
password: {{ es_passwd }}
|
||||||
bulk_max_size: 724775731
|
bulk_max_size: 1500
|
||||||
worker: 3
|
worker: 3
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue