Showing
1 changed file
with
1 additions
and
0 deletions
@@ -20,6 +20,7 @@ filebeat.prospectors: | @@ -20,6 +20,7 @@ filebeat.prospectors: | ||
20 | - input_type: log | 20 | - input_type: log |
21 | paths: | 21 | paths: |
22 | - /Data/logs/nginx/api.yoho.cn_error.log | 22 | - /Data/logs/nginx/api.yoho.cn_error.log |
23 | + - /Data/logs/nginx/nginx_error.log | ||
23 | document_type: nginx_access_error | 24 | document_type: nginx_access_error |
24 | fields: | 25 | fields: |
25 | source_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}" | 26 | source_ip: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}" |
-
Please register or login to post a comment