MySQL Forums
Forum List  »  Security

Re: MySQL Audit Separate line character in JSON log
Posted by: Marek Szymczak
Date: October 01, 2018 09:56AM

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Audit Separate line character in JSON log
439
October 01, 2018 09:56AM


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.