Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save adampielak/83796b5d4770534f26c46ffc43afcc3e to your computer and use it in GitHub Desktop.

Select an option

Save adampielak/83796b5d4770534f26c46ffc43afcc3e to your computer and use it in GitHub Desktop.
Container Security - Filebeat Log Aggregation (Wazuh Integration)
# Filebeat configuration for container log aggregation
# Ship container logs to Wazuh for centralized monitoring
# Tags: container-security, logging, wazuh, filebeat
filebeat.inputs:
- type: container
paths:
- /var/lib/docker/containers/*/*.log
processors:
- add_docker_metadata:
host: "unix:///var/run/docker.sock"
output.logstash:
hosts: ["wazuh:5044"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment