diff --git a/playbooks/roles/filebeat/defaults/main.yml b/playbooks/roles/filebeat/defaults/main.yml index 788f1d8..9d5215b 100644 --- a/playbooks/roles/filebeat/defaults/main.yml +++ b/playbooks/roles/filebeat/defaults/main.yml @@ -33,7 +33,7 @@ filebeat_logs: - "/data/game/htdocs/center/manager/storage/cp/logs/*.log" index_prefix: "mgr" template_name: "mgr-cp" - template_pattern: "mgr-cp-*" + template_pattern: "mgr-*" sublog: cp filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}" filebeat_older_data_dir: data2