Re: MySQL Audit Separate line character in JSON log
Hi Krzysiek,
as Joro already replied, you cannot remove the comma, because it's part of the JSON format the Audit Log plugin uses for logging.
What you could consider is reading audit log events using the audit_log_read UDF. Thanks to this, you could apply built in JSON formatting functions.
Accessing audit logs has been described on the MySQL team blog page:
https://mysqlserverteam.com/audit-logs-json-format-logging/
Happy reading!
Marek Szymczak
MySQL Software Engineer
Subject
Views
Written By
Posted
859
August 13, 2018 04:22AM
517
August 13, 2018 04:47AM
Re: MySQL Audit Separate line character in JSON log
485
October 01, 2018 09:56AM
531
October 02, 2018 12:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.