Compare commits

..

No commits in common. "90cc4a57220bc333f30eea966142d558ddcb6b4a" and "8c9da16cca9a3d5d895806c63a4d8826631bce24" have entirely different histories.

3 changed files with 3 additions and 13 deletions

View File

@ -1,7 +1,7 @@
filebeat.registry.path: {{ work_path }}/data/registry/gw-nginx-{{ instance_name }} filebeat.registry.path: {{ work_path }}/data/registry/gw-nginx-{{ instance_name }}
filebeat.inputs: filebeat.inputs:
{% for log in gwlogs %} {% for log in logs %}
- type: log - type: log
paths: paths:
- "/data/log/nginx/access_{{ log }}.log" - "/data/log/nginx/access_{{ log }}.log"

View File

@ -1,7 +1,7 @@
filebeat.registry.path: {{ work_path }}/data/registry/mgr-cp-{{ instance_name }} filebeat.registry.path: {{ work_path }}/data/registry/mgr-cp-{{ instance_name }}
filebeat.inputs: filebeat.inputs:
{% for log in mgrlogs %} {% for log in logs %}
- type: log - type: log
paths: paths:
- {{ log }} - {{ log }}

View File

@ -2,17 +2,7 @@
# vars file for filebeat # vars file for filebeat
filebeat_download_url: "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.10.1-linux-x86_64.tar.gz" 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 }}" work_path: "/data/opt/filebeat/{{ instance_name }}"
gwlogs: logs:
- "api"
- "cl*"
- "doc"
- "download"
- "gw*"
- "cp*"
- "pay"
- "static"
- "81"
mgrlogs:
- "/data/game/htdocs/center/manager/storage/cp/logs/*.log" - "/data/game/htdocs/center/manager/storage/cp/logs/*.log"
config_files: config_files:
- "gateway-nginx" - "gateway-nginx"