configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hypervisor.yml 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ---
  2. # file: hypervisor.yml
  3. - hosts: hypervisor
  4. roles:
  5. - proxmox
  6. - { role: "elastic.beats", beat: "filebeat",
  7. become: true,
  8. tags: ["filebeat", "logging"],
  9. beat_conf: {
  10. filebeat: {
  11. "inputs":[{
  12. "type": log,
  13. "enabled": true,
  14. "paths": [
  15. "/var/log/ceph/*.log",
  16. "/var/log/pve/tasks/*/*",
  17. "/var/log/vzdump/*.log",
  18. ],
  19. tags: ["hypervisor", "proxmox"]
  20. }]
  21. }
  22. },
  23. "output_conf": {
  24. "logstash": {
  25. "hosts": ["logging.serv.zentralwerk.org:5044", "172.20.73.13:5044"]
  26. }
  27. },
  28. logging_conf: {
  29. level: warning,
  30. to_files: false
  31. }
  32. }
  33. - { role: "elastic.beats", beat: "journalbeat",
  34. become: true,
  35. tags: ["journalbeat", "logging"],
  36. beat_conf: {
  37. journalbeat: {
  38. "inputs":[{
  39. seek: cursor,
  40. "paths": []
  41. }]
  42. },
  43. tags: ["hypervisor", "proxmox"]
  44. },
  45. "output_conf": {
  46. "logstash": {
  47. "hosts": ["logging.serv.zentralwerk.org:5044", "172.20.73.13:5044"]
  48. }
  49. },
  50. logging_conf: {
  51. level: warning,
  52. to_files: false,
  53. }
  54. }
  55. vars:
  56. beats_version: 7.2.0