Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. filebeat.inputs:
  2. - type: log
  3. enabled: true
  4. paths:
  5. - /var/log/nginx/*-access.log
  6. fields:
  7. type: nginx_access
  8. fields_under_root: true
  9. scan_frequency: 5s
  10.  
  11. - type: log
  12. enabled: true
  13. paths:
  14. - /var/log/nginx/*-error.log
  15. fields:
  16. type: nginx_error
  17. fields_under_root: true
  18. scan_frequency: 5s
  19.  
  20. output.logstash:
  21. hosts: ["165.227.108.67:5044"]
  22.  
  23. xpack.monitoring:
  24. enabled: true
  25. elasticsearch:
  26. hosts: ["165.227.108.67:9200"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement