goss.yaml 764 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. port:
  2. tcp:5066:
  3. listening: true
  4. ip:
  5. - "127.0.0.1"
  6. mount:
  7. /usr/share/filebeat/data:
  8. exists: true
  9. /run/docker.sock:
  10. exists: true
  11. /var/lib/docker/containers:
  12. exists: true
  13. opts:
  14. - ro
  15. /usr/share/filebeat/filebeat.yml:
  16. exists: true
  17. opts:
  18. - ro
  19. user:
  20. filebeat:
  21. exists: true
  22. uid: 1000
  23. gid: 1000
  24. http:
  25. http://upgrade-master:9200/_cat/indices:
  26. status: 200
  27. timeout: 2000
  28. body:
  29. - "filebeat-7.17.3"
  30. file:
  31. /usr/share/filebeat/filebeat.yml:
  32. exists: true
  33. contains:
  34. - "add_kubernetes_metadata"
  35. - "output.elasticsearch"
  36. command:
  37. cd /usr/share/filebeat && filebeat test output:
  38. exit-status: 0
  39. stdout:
  40. - "elasticsearch: http://upgrade-master:9200"