metricbeat.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. name: "YYAGI2_SP"
  2. tags: ["SP", "YYAGI", "MB"]
  3. metricbeat.config.modules:
  4. path: ${path.config}/modules.d/*.yml
  5. reload.enabled: false
  6. metricbeat.autodiscover:
  7. providers:
  8. - type: docker
  9. hints.enabled: true
  10. metricbeat.modules:
  11. - module: system
  12. metricsets:
  13. - "cpu"
  14. - "load"
  15. - "filesystem"
  16. - "fsstat"
  17. - "memory"
  18. - "network"
  19. - "process"
  20. - "core"
  21. - "diskio"
  22. - "socket"
  23. period: 5s
  24. enabled: true
  25. processes: ['.*']
  26. cpu.metrics: ["percentages"]
  27. core.metrics: ["percentages"]
  28. process.cgroups.enabled: false
  29. #metricbeat.modules:
  30. #- module: docker
  31. # metricsets:
  32. # - "container"
  33. # - "cpu"
  34. # - "diskio"
  35. # - "healthcheck"
  36. # - "info"
  37. # #- "image"
  38. # - "memory"
  39. # - "network"
  40. # hosts: ["unix:///var/run/docker.sock"]
  41. # period: 10s
  42. # enabled: true
  43. hostfs: "/hostfs"
  44. output.elasticsearch:
  45. hosts: ["https://elastic.joystreamstats.live:443"]
  46. protocol: "https"
  47. pipeline: geoip-info
  48. #api_key: "MHJ6bVhvRUJybmlHM2NJSC16cmw6OE1CMmdpeXFSaTZjR1B0M3cxeFBfQQ=="
  49. username: "beats_admin"
  50. password: "*****"
  51. # username: beats_system
  52. # Read PW from packetbeat.keystore
  53. # password: "*****"
  54. # ssl.certificate_authorities: ["/usr/share/packetbeat/certs/ca/ca.crt"]
  55. #setup.kibana:
  56. #host: "https://kibana.yyagi.cloud"
  57. #username: "beats_admin"
  58. #password: "L3tM31n!"
  59. # protocol: "https"
  60. # ssl.enabled: false
  61. # ssl.certificate_authorities: ["/usr/share/packetbeat/certs/ca/ca.crt"]
  62. #
  63. xpack.monitoring.enabled: true