Skip to content

vpm-bradleyhession/wazuh-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wazuh containers for Docker

In this repository you will find the containers to run:

  • wazuh: It runs the Wazuh manager, Wazuh API and Filebeat (for integration with Elastic Stack)
  • wazuh-logstash: It is used to receive alerts generated by the manager and feed Elasticsearch using an alerts template
  • wazuh-kibana: Provides a web user interface to browse through alerts data. It includes Wazuh plugin for Kibana, that allows you to visualize agents configuration and status.

In addition, a docker-compose file is provided to launch the containers mentioned above. It also launches an Elasticsearch container (working as a single-node cluster) using Elastic Stack Docker images.

Current release

Containers are currently tested on Wazuh version 2.0 and Elastic Stack version 5.5.2. We will do our best to keep this repository updated to latest versions of both Wazuh and Elastic Stack.

Installation notes

To run all docker instances you can just run docker-compose up, from the directory where you have docker-compose.yml file. The following is part of the expected behavior when setting up the system:

  • Both wazuh-kibana and wazuh-logstash containers will run multiple queries to Elasticsearch API using curl, to learn when Elasticsearch is up. It is expected to see several Failed to connect to elasticsearch port 9200 log messages, until Elasticesearch is started. Then the set up process will continue normally.
  • Kibana container can take a few minutes to install Wazuh plugin, this takes place after Optimizing and caching browser bundles... is printed out.
  • It is recommended to set Docker host preferences to give at least 4GB memory per container (this doesn't necessarily mean they all will use it, but Elasticsearch requires them to work properly).

Once installed you can browse through the interface at: http://127.0.0.1:5601

More documentation

Credits

These Docker containers are based on:

We thank you them and everyone else who has contributed to this project.

Wazuh official website

Wazuh website

About

Wazuh containers for Docker

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%