#1001590 增加针对业务应用日志的采集

This commit is contained in:
pengln 2021-11-09 16:05:39 +08:00
parent 99d5df308f
commit 4263ed1523
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ filebeat.config.modules:
#reload.period: 10s
# ======================= Elasticsearch template setting =======================
setup.ilm.enabled: true
setup.ilm.enabled: false
setup.template.name: "gw-nginx-ug10cn"
setup.template.pattern: "gw-nginx-*"
@ -42,7 +42,7 @@ output.elasticsearch:
pipeline: "gwlogs"
username: {{ es_user }}
password: {{ es_passwd }}
bulk_max_size: 724775731
bulk_max_size: 1500
worker: 3

View File

@ -27,7 +27,7 @@ filebeat.config.modules:
#reload.period: 10s
# ======================= Elasticsearch template setting =======================
setup.ilm.enabled: true
setup.ilm.enabled: false
setup.template.name: "mgr-cp"
setup.template.pattern: "mgr-cp-*"
@ -45,7 +45,7 @@ output.elasticsearch:
pipeline: "cplogs"
username: {{ es_user }}
password: {{ es_passwd }}
bulk_max_size: 724775731
bulk_max_size: 1500
worker: 3