filebeat.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. filebeat:
  2. inputs:
  3. - enabled: true
  4. paths:
  5. - "/mnt/log/**/*.log"
  6. type: log
  7. - enabled: true
  8. paths:
  9. - "/home/oleg/.local/var/log/*.log"
  10. type: log
  11. - enabled: true
  12. paths:
  13. - "/home/oleg/.local/var/log/**/*.log"
  14. type: log
  15. - enabled: true
  16. paths:
  17. - /home/oleg/.local/share/qBittorrent/logs/qbittorrent.log
  18. type: log
  19. - enabled: true
  20. paths:
  21. - "/var/lib/docker/containers/**/*.log"
  22. type: log
  23. modules:
  24. - access:
  25. enabled: true
  26. var.paths:
  27. - /mnt/log/nginx/access.log
  28. error:
  29. enabled: true
  30. var.paths:
  31. - /mnt/log/nginx/error.log
  32. module: nginx
  33. - auth:
  34. enabled: true
  35. var.paths:
  36. - /mnt/log/secure
  37. module: system
  38. syslog:
  39. enabled: true
  40. var.convert_timezone: true
  41. var.paths:
  42. - /mnt/log/messages
  43. output:
  44. elasticsearch:
  45. allow_older_versions: true
  46. hosts:
  47. - https://node-0.example.com:9200
  48. ssl:
  49. certificate: /etc/client/cert.pem
  50. certificate_authorities:
  51. - /etc/client/ca.pem
  52. key: /etc/client/cert.key