Compare commits
2 Commits
8c9da16cca
...
90cc4a5722
Author | SHA1 | Date |
---|---|---|
pengln | 90cc4a5722 | |
pengln | fc73dc3ef6 |
|
@ -1,7 +1,7 @@
|
|||
filebeat.registry.path: {{ work_path }}/data/registry/gw-nginx-{{ instance_name }}
|
||||
|
||||
filebeat.inputs:
|
||||
{% for log in logs %}
|
||||
{% for log in gwlogs %}
|
||||
- type: log
|
||||
paths:
|
||||
- "/data/log/nginx/access_{{ log }}.log"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
filebeat.registry.path: {{ work_path }}/data/registry/mgr-cp-{{ instance_name }}
|
||||
|
||||
filebeat.inputs:
|
||||
{% for log in logs %}
|
||||
{% for log in mgrlogs %}
|
||||
- type: log
|
||||
paths:
|
||||
- {{ log }}
|
||||
|
|
|
@ -2,7 +2,17 @@
|
|||
# vars file for filebeat
|
||||
filebeat_download_url: "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.10.1-linux-x86_64.tar.gz"
|
||||
work_path: "/data/opt/filebeat/{{ instance_name }}"
|
||||
logs:
|
||||
gwlogs:
|
||||
- "api"
|
||||
- "cl*"
|
||||
- "doc"
|
||||
- "download"
|
||||
- "gw*"
|
||||
- "cp*"
|
||||
- "pay"
|
||||
- "static"
|
||||
- "81"
|
||||
mgrlogs:
|
||||
- "/data/game/htdocs/center/manager/storage/cp/logs/*.log"
|
||||
config_files:
|
||||
- "gateway-nginx"
|
||||
|
|
Loading…
Reference in New Issue