Warning: This is the documentation for Wazuh 3.0. Check out the docs for the latest version of Wazuh!
database_output¶
XML section name
<database_output>
</database_output>
MySQL and PostgreSQL database output is supported. It is configured with the options below.
Options¶
hostname¶
Specify the IP address of the database server.
Default value |
n/a |
Allowed values |
Any valid IP address |
username¶
Specify the username to access the database.
Default value |
n/a |
Allowed values |
Any valid username |
password¶
Specify the password to access the database.
Default value |
n/a |
Allowed values |
Any password |
database¶
Specify the name of the database in which to store the alerts.
Default value |
n/a |
Allowed values |
Database name |
type¶
Type of database
Default value |
n/a |
Allowed values |
mysql/postgresql |
Note
Wazuh must be compiled with the database type that is to be used.
Example of configuration¶
<database_output>
<hostname>192.168.1.122</hostname>
<username>MySQLadmin</username>
<password>secret1234</password>
<database>Alerts_DB</database>
<type>mysql</type>
</database_output>