Authored by root

Filebeat add log

... ... @@ -20,6 +20,7 @@ filebeat.prospectors:
- input_type: log
paths:
- /Data/logs/nginx/api.yoho.cn_error.log
- /Data/logs/nginx/nginx_error.log
document_type: nginx_access_error
fields:
source_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
... ...