Wazuh provides a pre-built virtual machine image (OVA) that you can directly import using VirtualBox (where installed) and other OVA compatible virtualization systems.
This VM only runs on 64-bit systems and is not recommended for use in production environments. It can be a useful tool for proofs of concept and labs. Distributed architectures and multi-node Elastic Stack clusters are usually a better fit for production environments where higher performance is required.
This virtual appliance, available here, contains the following components:
- CentOS 7
- Wazuh 3.1.0-1
- RESTful API 3.1.0-1
- Elasticsearch 6.1.1
- Logstash 6.1.1
- Kibana 6.1.1 port “5601””
- WazuhAPP 3.1.0_6.1.1
Import the OVA in your virtualization platform and run the virtual machine. The root password is “wazuh” and the username/password for the Wazuh API is “foo/bar”.
Although you don’t need to change any Elastic Stack configuration settings, feel free to explore the options. You can find Elasticsearch installed in
/usr/share/elasticsearch. Similarly, Logstash is installed in
/usr/share/logstashand its configuration file is found in
The Wazuh Manager and the Elastic Stack included in this virtual image are configured to work out of the box. The next step of the process is to deploy the Wazuh agents on the systems you intend to monitor. Once installed, connect them to your virtual appliance. More documentation can be found at:
Before connecting any of the Wazuh agents, change the VM’s network interface type from NAT (the factory default) to bridge for communication with your network. By default, the VM will try to get an IP address from your network’s DHCP server. Alternatively, you can set a static IP address by configuring the proper network files on the CentOS operating system that the virtual machine is based on.
- You can start and stop wazuh-manager, wazuh-api, elasticsearch, logstash, and kibana with the ‘systemctl’ command. For example:
# systemctl restart wazuh-manager # systemctl restart wazuh-api # systemctl stop elasticsearch # systemctl start logstash # systemctl status kibana
- In order to connect to the Kibana web user interface, login with
OVA_IP_ADDRESSis your system IP).