goss.yaml 834 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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://elasticsearch-master:9200/_cat/indices:
  26. status: 200
  27. timeout: 2000
  28. body:
  29. - 'filebeat-7.8.1'
  30. file:
  31. /usr/share/filebeat/filebeat.yml:
  32. exists: true
  33. contains:
  34. - 'add_kubernetes_metadata'
  35. - 'output.elasticsearch'
  36. - 'elasticsearch-master:9200'
  37. command:
  38. cd /usr/share/filebeat && filebeat test output:
  39. exit-status: 0
  40. stdout:
  41. - 'elasticsearch: http://elasticsearch-master:9200'
  42. - 'version: 7.8.1'