Hi Emil David
Wazuh offers by default rules and decoders for MariaDB logs:
This means that, if you configure Wazuh to monitor MariaDB logs, Wazuh should be able to create events related to the SQL engine.
You should configure something like this in your ossec.conf file:
<localfile>
<location>[MARIADB_LOGFILE_PATH]</location>
<log_format>syslog</log_format>
</localfile>
I've also found an article that configures MariaDB to send the log information through syslog:
Hope this helps!