I have been trying to get Mariadb DML DDL command logs to be indexed to wazuh dashboard but it doesnot matching any of the ruleset given in the wazuh repository. So it fails at the log test using /var/ossec/bin/wazuh-logtest Help me sort out this.
Aravind Raja
unread,
Apr 20, 2023, 3:15:23 AM4/20/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Here I attached the sample log test Help me fix this issue,
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Thank you for reaching out to us.
We understand that you are having trouble getting Mariadb DML DDL command logs indexed to the Wazuh dashboard.
To troubleshoot this, you can follow these steps:
Check if the log messages are being generated correctly by Mariadb. You can check this by reviewing the contents of the Mariadb audit log file located at /var/log/mysql/mariadb-audit.log. Ensure that the log messages contain the necessary information such as timestamp, user, IP address.....
We recommend checking if the log format matches any of the existing decoders in the Wazuh repository.
Run the Wazuh logtest utility to verify if the log messages can be successfully parsed and indexed by Wazuh.
If the logtest succeeds, the Mariadb logs should now be indexed and visible in the Wazuh dashboard.
You would need to sort the failing log test first, please refer to the below: