MySQL Forums
Forum List  »  Security

Re: MySQL Enterprise Audit - JSON Trailing commas
Posted by: Ted Wennmark
Date: March 08, 2021 02:53PM

Hello Herman,

Nice to virtually meet you!

What version of the MySQL Server are you running?
I did some quick testing using MySQL 8.0.22 and my audit log does not have a trailing comma.

My test using MySQL 8.0.22:
[ted@localhost mysqlEE@port3307]$ cat mysqldata/audit.20210308T203435.log
[
{ "timestamp": "2021-03-08 20:34:34", "id": 1, "class": "connection", "event": "disconnect", "connection_id": 18, "account": { "user": "root", "host": "localhost" }, "login": { "user": "root", "os": "", "ip": "", "proxy": "" }, "connection_data": { "connection_type": "socket" } },
{ "timestamp": "2021-03-08 20:34:35", "id": 0, "class": "audit", "event": "shutdown", "connection_id": 0, "shutdown_data": { "server_id": 1 } }
]


Have a good day!

Kind Regards,
Ted



Edited 2 time(s). Last edit at 03/09/2021 10:10AM by Edwin Desouza.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Enterprise Audit - JSON Trailing commas
245
March 08, 2021 02:53PM


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.