{"id":28997,"date":"2024-03-09T08:07:35","date_gmt":"2023-07-28T11:12:17","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/"},"modified":"2025-08-12T11:13:24","modified_gmt":"2025-08-12T03:13:24","slug":"%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/","title":{"rendered":"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011"},"content":{"rendered":"<h1>\u9996\u5148<\/p>\n<p>(Note: &#8220;\u306f\u3058\u3081\u306b&#8221; means &#8220;first&#8221; or &#8220;to begin with&#8221; in Japanese. The paraphrased answer provided is in Simplified Chinese. If you need the translation in Traditional Chinese, please let me know.)<\/p>\n<p>\u5728Amazon RDS\uff08MySQL\uff09\u4e2d\uff0c\u6211\u542f\u7528\u4e86\u5ba1\u8ba1\u65e5\u5fd7\u8f93\u51fa\u3002\u4ee5\u4e0b\u662f\u90e8\u5206\u5c4f\u853d\u540e\u7684\u8f93\u51fa\u793a\u4f8b\u3002<\/p>\n<pre class=\"post-pre\"><code>20190707 20:30:55,ip-172-23-2-48,root,10.100.xx.xx,1234567,0,DISCONNECT,,,0 \r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>20190808 10:15:30,ip-10-7-1-52,testdbuser,172.16.xx.xx,2345678,23456789,QUERY,testdb02,'SET autocommit=1',0\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>20190909 05:25:25,ip-10-7-1-52,rdsadmin,localhost,3456789,98765432,QUERY,,'SELECT 1',0\r\n<\/code><\/pre>\n<p>\u6211\u5bf9\u6240\u5199\u7684\u5185\u5bb9\u6709\u4e00\u4e9b\u6982\u5ff5\uff0c\u4f46\u56e0\u4e3a\u60f3\u8981\u786e\u5207\u5730\u786e\u8ba4\u6bcf\u4e2a\u9886\u57df\u7684\u4fe1\u606f\uff0c\u6211\u8fdb\u884c\u4e86\u8c03\u67e5\u3002<\/p>\n<h1>\u6700\u7d42\u7d50\u8ad6<\/p>\n<p>\u4ee5\u4e0b\u662f\u5982\u4e0b\u6240\u793a\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>[timestamp],[serverhost],[username],[host],[connectionid],[queryid],[operation],[database],[object],[retcode]\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u6587\u4ef6\u4e2d\u6240\u8ff0\u7684\u5185\u5bb9\u4e0e\u5176\u4e00\u81f4\u3002<\/p>\n<p>\u5728Amazon Aurora MySQL DB\u96c6\u7fa4\u4e2d\u4f7f\u7528\u9ad8\u7ea7\u5ba1\u8ba1-\u5ba1\u8ba1\u65e5\u5fd7\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<blockquote><p>\u76e3\u67fb\u65e5\u5fd7\u6587\u4ef6\u7684\u884c\u4e2d\uff0c\u4ee5\u9017\u53f7\u5206\u9694\u7684\u4fe1\u606f\u6309\u6307\u5b9a\u987a\u5e8f\u5305\u542b\u5728\u5176\u4e2d\u3002<\/p><\/blockquote>\n<div>\n<div class=\"post-table\">\n<thead>\n<tr>\n<th>\u30d5\u30a3\u30fc\u30eb\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>timestamp<\/td>\n<td>\u8a18\u9332\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u306e UNIX \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7 (\u30de\u30a4\u30af\u30ed\u79d2\u306e\u7cbe\u5ea6)\u3002<\/td>\n<\/tr>\n<tr>\n<td>serverhost<\/td>\n<td>\u30a4\u30d9\u30f3\u30c8\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u540d\u524d\u3002<\/td>\n<\/tr>\n<tr>\n<td>username<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u306e\u63a5\u7d9a\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u3002<\/td>\n<\/tr>\n<tr>\n<td>host<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u306e\u63a5\u7d9a\u5143\u306e\u30db\u30b9\u30c8\u3002<\/td>\n<\/tr>\n<tr>\n<td>connectionid<\/td>\n<td>\u8a18\u9332\u3055\u308c\u305f\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u63a5\u7d9a ID \u756a\u53f7\u3002<\/td>\n<\/tr>\n<tr>\n<td>queryid<\/td>\n<td>\u30af\u30a8\u30ea ID \u756a\u53f7\u3002\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c6\u30fc\u30d6\u30eb\u30a4\u30d9\u30f3\u30c8\u3068\u95a2\u9023\u3059\u308b\u30af\u30a8\u30ea\u306e\u691c\u7d22\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002TABLE&nbsp;\u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408\u3001\u8907\u6570\u306e\u884c\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3<\/td>\n<td>\u8a18\u9332\u3055\u308c\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\u3002\u6307\u5b9a\u3067\u304d\u308b\u5024\u306f&nbsp;CONNECT\u3001QUERY\u3001READ\u3001WRITE\u3001CREATE\u3001ALTER\u3001RENAME\u3001DROP&nbsp;\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/td>\n<td>USE&nbsp;\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u8a2d\u5b9a\u3055\u308c\u305f\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td>\n<td>QUERY \u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408\u3001\u3053\u306e\u5024\u306f\u5b9f\u884c\u3055\u308c\u305f\u30af\u30a8\u30ea\u3092\u8868\u793a\u3057\u307e\u3059\u3002TABLE \u30a4\u30d9\u30f3\u30c8\u306e\u5834\u5408\u3001\u30c6\u30fc\u30d6\u30eb\u540d\u3092\u793a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>retcode<\/td>\n<td>\u8a18\u9332\u3055\u308c\u305f\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30bf\u30fc\u30f3\u30b3\u30fc\u30c9\u3002<\/td>\n<\/tr>\n<\/tbody>\n<p>\u5c3d\u7ba1\u7ed3\u679c\u662f\u76f8\u540c\u7684\uff0c\u4f46\u9700\u8981\u660e\u786e\u7684\u662f\u4e0a\u8ff0\u5185\u5bb9\u662fAmazon Aurora(MySQL)\u7684\u6587\u6863\uff0c\u56e0\u6b64\u5c06\u5176\u4f5c\u4e3a\u5b98\u65b9\u4fe1\u606f\u6e90\u6765\u7ed3\u675f\u53ef\u80fd\u8fd8\u5b58\u5728\u4e9b\u8bb8\u7591\u8651\u3002\u5982\u679c\u5728Amazon RDS(MySQL)\u7684\u6587\u6863\u4e2d\u627e\u5230\u76f8\u540c\u7684\u63cf\u8ff0\u5c31\u597d\u4e86\uff0c\u4f46\u662f\u6211\u6ca1\u6709\u627e\u5230\u76f8\u5173\u7684\u63cf\u8ff0\u3002<\/p>\n<h1>\u7b49\u4e8e\u516c\u5f0f\u7684\u6765\u6e90<\/p>\n<p>\u6211\u51b3\u5b9a\u5bfb\u627e\u9664\u4e86AWS\u6587\u6863\u4e4b\u5916\u7684\u6765\u6e90\uff0c\u5e76\u4f7f\u7528MARIADB_AUDIT_PLUGIN\u4f5c\u4e3a\u8d77\u70b9\u3002MARIADB_AUDIT_PLUGIN\u662f\u5728Amazon RDS\uff08MySQL\uff09\u4e2d\u542f\u7528\u5ba1\u8ba1\u65e5\u5fd7\u8f93\u51fa\u6240\u5fc5\u9700\u7684\u9009\u9879\u540d\u79f0\u3002<\/p>\n<blockquote><p>\u8981\u8bbf\u95ee\u5ba1\u8ba1\u65e5\u5fd7\uff0c\u9700\u8981\u901a\u8fc7\u6307\u5b9aMARIADB_AUDIT_PLUGIN\u9009\u9879\u5e76\u4f7f\u7528\u81ea\u5b9a\u4e49\u9009\u9879\u7ec4\u6765\u914d\u7f6e\u6570\u636e\u5e93\u5b9e\u4f8b\u3002<\/p><\/blockquote>\n<p>[MySQL\u6570\u636e\u5e93\u65e5\u5fd7\u6587\u4ef6 &#8211; \u8bbf\u95eeMySQL\u5ba1\u8ba1\u65e5\u5fd7]<br \/>\nhttps:\/\/docs.aws.amazon.com\/zh_cn\/AmazonRDS\/latest\/UserGuide\/USER_LogAccess.Concepts.MySQL.html#USER_LogAccess.MySQL.Auditlog<\/p>\n<p>\u800cMariaDB\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff08RDBMS\uff09\uff0c\u5b83\u662f\u4f5c\u4e3aMySQL\u7684\u4e00\u4e2a\u6d3e\u751f\u7248\u672c\u8fdb\u884c\u5f00\u53d1\u7684\u3002\uff08\u6765\u81ea\u7ef4\u57fa\u767e\u79d1\u3002\uff09<\/p>\n<p>\u5728\u67e5\u627eMariaDB\u5b98\u65b9\u6e90\u4ee3\u7801\u65f6\uff0c\u6211\u53d1\u73b0\u4e86\u4e00\u4e2a\u53eb\u505a\u77e5\u8bc6\u5e93\u7684\u9875\u9762\u3002\u5728\u5176\u4e2d\u7684\u4e00\u9875\u4e0a\uff0c\u6211\u627e\u5230\u4e86\u6211\u60f3\u8981\u7684\u5185\u5bb9\u3002<\/p>\n<p>[MariaDB \u5ba1\u8ba1\u63d2\u4ef6 &#8211; \u65e5\u5fd7\u683c\u5f0f]<br \/>\nhttps:\/\/mariadb.com\/kb\/en\/library\/mariadb-audit-plugin-log-format\/<\/p>\n<p>\u5728Amazon Aurora\uff08MySQL\uff09\u7684\u6587\u4ef6\u4e2d\uff0c\u6240\u8ff0\u5185\u5bb9\u4e0e\u5927\u4f53\u76f8\u540c\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<thead>\n<tr>\n<th>Item logged<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>timestamp<\/td>\n<td>Time at which the event occurred. If syslog is used, the format is defined by&nbsp;syslogd.<\/td>\n<\/tr>\n<tr>\n<td>serverhost<\/td>\n<td>The MariaDB server host name.<\/td>\n<\/tr>\n<tr>\n<td>username<\/td>\n<td>Connected user.<\/td>\n<\/tr>\n<tr>\n<td>host<\/td>\n<td>Host from which the user connected.<\/td>\n<\/tr>\n<tr>\n<td>connectionid<\/td>\n<td>Connection ID number for the related operation.<\/td>\n<\/tr>\n<tr>\n<td>queryid<\/td>\n<td>Query ID number, which can be used for finding the relational table events and related queries. For TABLE events, multiple lines will be added.<\/td>\n<\/tr>\n<tr>\n<td>operation<\/td>\n<td>Recorded action type: CONNECT, QUERY, READ, WRITE, CREATE, ALTER, RENAME, DROP.<\/td>\n<\/tr>\n<tr>\n<td>database<\/td>\n<td>Active database (as set by&nbsp;USE).<\/td>\n<\/tr>\n<tr>\n<td>object<\/td>\n<td>Executed query for QUERY events, or the table name in the case of TABLE events.<\/td>\n<\/tr>\n<tr>\n<td>retcode<\/td>\n<td>Return code of the logged operation.<\/td>\n<\/tr>\n<\/tbody>\n<p>\u672c\u6587\u4e2d\u4e5f\u5305\u542b\u4e86\u65e5\u5fd7\u8f93\u51fa\u7684\u793a\u4f8b\u3002<\/p>\n<pre class=\"post-pre\"><code>[timestamp],[serverhost],[username],[host],[connectionid],0,CONNECT,[database],,0 \r\n[timestamp],[serverhost],[username],[host],[connectionid],0,DISCONNECT,,,0 \r\n[timestamp],[serverhost],[username],[host],[connectionid],0,FAILED_CONNECT,,,[retcode]\r\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8868\u7684\u201c\u64cd\u4f5c\u7c7b\u578b\u201d\u680f\u4e2d\u4ec5\u5199\u6709\u201cCONNECT\u201d\uff0c\u4f46\u4f3c\u4e4e\u4e5f\u4f1a\u8bb0\u5f55\u201cDISCONNECT\u201d\u548c\u201cFAILED_CONNECT\u201d\u3002\u5728\u4f8b1\u7684\u5f00\u5934\uff0c\u6211\u4eec\u53ef\u4ee5\u786e\u8ba4\u201cDISCONNECT\u201d\u5df2\u88ab\u8bb0\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>[timestamp],[serverhost],[username],[host],[connectionid],[queryid],QUERY,[database],[object], [retcode]\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[timestamp],[serverhost],[username],[host],[connectionid],[queryid],CREATE,[database],[object], \r\n[timestamp],[serverhost],[username],[host],[connectionid],[queryid],READ,[database],[object], \r\n[timestamp],[serverhost],[username],[host],[connectionid],[queryid],WRITE,[database],[object], \r\n[timestamp],[serverhost],[username],[host],[connectionid],[queryid],ALTER,[database],[object], \r\n[timestamp],[serverhost],[username],[host],[connectionid],[queryid],RENAME,[database], [object_old]|[database_new].[object_new], \r\n[timestamp],[serverhost],[username],[host],[connectionid],[queryid],DROP,[database],[object],\r\n<\/code><\/pre>\n<h1>\u4e0eMariaDB Audit\u63d2\u4ef6\u7684\u533a\u522b<\/p>\n<p>Amazon Aurora\uff08MySQL\uff09\u7684\u6587\u6863\u4e2d\u6ca1\u6709\u63d0\u5230\uff0c\u4f46MariaDB\u7684\u6587\u6863\u4e2d\u6709\u76f8\u5173\u5b57\u6bb5\u7684\u63cf\u8ff0\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<thead>\n<tr>\n<th>Item logged<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>syslog_host<\/td>\n<td>Host from which the syslog entry was received.<\/td>\n<\/tr>\n<tr>\n<td>syslog_ident<\/td>\n<td>For identifying a system log entry, including the MariaDB server.<\/td>\n<\/tr>\n<tr>\n<td>syslog_info<\/td>\n<td>For providing information for identifying a system log entry.<\/td>\n<\/tr>\n<\/tbody>\n<p>\u8fd9\u662f\u4e0esyslog\u76f8\u5173\u7684\u5b57\u6bb5\u3002\u987a\u4fbf\u8bf4\u4e00\u4e0b\uff0c\u6839\u636e\u7ef4\u57fa\u767e\u79d1\uff0csyslog\u5982\u4e0b\u6240\u8ff0\u3002<\/p>\n<blockquote><p>Syslog\u662f\u4e00\u4e2a\u5728IP\u7f51\u7edc\u4e0a\u4f20\u8f93\u65e5\u5fd7\u6d88\u606f\u7684\u6807\u51c6\u89c4\u8303\u3002&#8221;Syslog&#8221;\u8fd9\u4e2a\u672f\u8bed\u4e0d\u4ec5\u6307\u4ee3\u901a\u4fe1\u534f\u8bae\uff0c\u4e5f\u7528\u4e8e\u6307\u4ee3\u53d1\u9001Syslog\u6d88\u606f\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u5e93\u3002<\/p><\/blockquote>\n<p>\u901a\u8fc7\u66f4\u6539MariaDB Audit Plugin\u7684\u4e00\u4e2a\u914d\u7f6e\u503c\uff0c\u4e0a\u8ff0\u5b57\u6bb5\u53ef\u4ee5\u542f\u7528\u8f93\u51fa\u3002<\/p>\n<blockquote><p>\u5982\u679c\u5c06 server_audit_output_type \u53d8\u91cf\u8bbe\u7f6e\u4e3a syslog \u800c\u975e\u9ed8\u8ba4\u7684 file\uff0c\u5219\u5ba1\u8ba1\u65e5\u5fd7\u6587\u4ef6\u683c\u5f0f\u5982\u4e0b\uff1a<\/p><\/blockquote>\n<p>\u53ef\u4ee5\u5728\u4ee5\u4e0b\u9875\u9762\u4e0a\u786e\u8ba4\u6709\u54ea\u4e9b\u8bbe\u7f6e\u3002<\/p>\n<p><pre class=\"post-pre\"><code>+-------------------------------+-----------------------+\r\n| Variable_name                 | Value                 |\r\n+-------------------------------+-----------------------+\r\n| server_audit_events           | CONNECT,QUERY,TABLE   |\r\n| server_audit_excl_users       |                       |\r\n| server_audit_file_path        | server_audit.log      |\r\n| server_audit_file_rotate_now  | OFF                   |\r\n| server_audit_file_rotate_size | 1000000               |\r\n| server_audit_file_rotations   | 9                     |\r\n| server_audit_incl_users       |                       |\r\n| server_audit_logging          | ON                    |\r\n| server_audit_mode             | 0                     |\r\n| server_audit_output_type      | file                  | # syslog\u306b\u5909\u3048\u308b\u306e\u306f\u3053\u3053\r\n| server_audit_query_log_limit  | 1024                  |\r\n| server_audit_syslog_facility  | LOG_USER              |\r\n| server_audit_syslog_ident     | mysql-server_auditing |\r\n| server_audit_syslog_info      |                       |\r\n| server_audit_syslog_priority  | LOG_INFO              |\r\n+-------------------------------+-----------------------+\r\n<\/code><\/pre>\n<p>\u4e00\u65b9\u9762\uff0c\u5728Amazon RDS\uff08MySQL\uff09\u7684MARIADB_AUDIT_PLUGIN\u4e2d\uff0c\u53ef\u914d\u7f6e\u9009\u9879\u7684\u8be6\u7ec6\u4fe1\u606f\u5728\u4ee5\u4e0b\u6587\u6863\u4e2d\u63d0\u5230\u3002\u4e0eMariaDB Audit Plugin\u53ef\u914d\u7f6e\u7684\u53c2\u6570\u8fdb\u884c\u6bd4\u8f83\uff0c\u53ef\u4ee5\u53d1\u73b0\u53ef\u914d\u7f6e\u9879\u7684\u79cd\u7c7b\u8f83\u5c11\u3002<\/p>\n<p>[\u652f\u6301MariaDB\u5ba1\u8ba1\u63d2\u4ef6]<br \/>\nhttps:\/\/docs.aws.amazon.com\/zh_cn\/AmazonRDS\/latest\/UserGuide\/Appendix.MySQL.Options.AuditPlugin.html<\/p>\n<div>\n<div class=\"post-table\">\n<thead>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/th>\n<th>\u6709\u52b9\u306a\u5024<\/th>\n<th>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>SERVER_AUDIT_FILE_PATH<\/td>\n<td>\/rdsdbdata\/log\/audit\/<\/td>\n<td>\/rdsdbdata\/log\/audit\/<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_FILE_ROTATE_SIZE<\/td>\n<td>1\u20131000000000<\/td>\n<td>1000000<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_FILE_ROTATIONS<\/td>\n<td>0\u2013100<\/td>\n<td>9<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_EVENTS<\/td>\n<td>CONNECT\u3001QUERY\u3001QUERY_DDL\u3001QUERY_DML\u3001QUERY_DCL<\/td>\n<td>CONNECT\u3001QUERY<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_INCL_USERS<\/td>\n<td>\u8907\u6570\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u5024<\/td>\n<td>\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_EXCL_USERS<\/td>\n<td>\u8907\u6570\u306e\u30ab\u30f3\u30de\u533a\u5207\u308a\u5024<\/td>\n<td>\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td>SERVER_AUDIT_LOGGING<\/td>\n<td>ON<\/td>\n<td>ON<\/td>\n<\/tr>\n<\/tbody>\n<p>RDS\uff08\u5305\u62ecAurora\u5728\u5185\uff09\u662f\u63d0\u4f9b\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff08RDBMS\uff09\u7684PaaS\uff0c\u7528\u6237\u65e0\u6cd5\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u7b49\u7ea7\u7684\u9886\u57df\u8fdb\u884c\u66f4\u6539\u3002\u56e0\u4e3a\u65e0\u6cd5\u63a5\u89e6\u5404\u79cdRDBMS\u4e2d\u7684conf\u6587\u4ef6\uff0c\u6240\u4ee5\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570\u7ec4\u548c\u9009\u9879\u7ec4\u6765\u8fdb\u884c\u914d\u7f6e\uff0c\u5e76\u8fdb\u884c\u4e0e\u5176\u7b49\u6548\u7684\u8bbe\u7f6e\u3002\u7136\u800c\uff0c\u5e76\u4e0d\u662f\u6240\u6709\u7684conf\u6587\u4ef6\u90fd\u53ef\u4ee5\u63a5\u89e6\uff0c\u4ec5\u4ec5\u9650\u4e8e\u5fc5\u9700\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u529f\u80fd\u7684\u53d6\u820d\u9009\u62e9\u3002<\/p>\n<p>\u6839\u636e\u4ee5\u4e0a\u4f8b\u5b50\u4e2d\u7684syslog\uff0c\u53ef\u4ee5\u8bf4\u670d\u52a1\u5668\u548c\u7f51\u7edc\u5c42\u662f\u4e3b\u6218\u573a\uff0c\u7531AWS\u7ba1\u7406\u7684\u9886\u57df\uff0c\u56e0\u6b64\u7528\u6237\u65e0\u9700\u5173\u6ce8\uff0c\u8fd9\u53ef\u80fd\u662f\u4e3a\u4ec0\u4e48\u5b83\u4e0d\u5305\u542b\u5728\u9009\u9879\u7ec4\u7684\u8bbe\u7f6e\u76ee\u6807\u4e2d\u7684\u539f\u56e0\u3002<\/p>\n<pre class=\"post-pre\"><code>[timestamp][syslog_host][syslog_ident]:[syslog_info][serverhost],[username],[host],[connectionid],[queryid],[operation],[database],[object],[retcode]\r\n<\/code><\/pre>\n<h1>\u53ef\u4ee5\u80af\u5b9a\uff0cAurora\u7684\u5ba1\u8ba1\u65e5\u5fd7\u4e5f\u4e00\u5b9a\u662f\u901a\u8fc7MariaDB Audit\u63d2\u4ef6\u5b9e\u73b0\u7684\u3002<\/p>\n<p>\u5728Amazon Aurora\uff08MySQL\uff09\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u53c2\u6570\u7ec4\u800c\u4e0d\u662f\u9009\u9879\u7ec4\u6765\u8fdb\u884c\u5ba1\u8ba1\u65e5\u5fd7\u8f93\u51fa\u8bbe\u7f6e\u3002<\/p>\n<p>\u5728Amazon Aurora MySQL DB\u96c6\u7fa4\u4e2d\u4f7f\u7528\u9ad8\u7ea7\u5ba1\u8ba1 &#8211; \u542f\u7528\u9ad8\u7ea7\u5ba1\u8ba1\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u53ef\u8a2d\u5b9a\u7684\u53c3\u6578\u3002<\/p>\n<ul class=\"post-ul\">\nserver_audit_logging<br \/>\nserver_audit_events<br \/>\nserver_audit_excl_users<br \/>\nserver_audit_incl_users\n<\/ul>\n<p>\u8fd9\u4e2a\u8bbe\u7f6e\u9879\u76ee\u4e0eMariaDB Audit\u63d2\u4ef6\u7684\u540d\u79f0\u76f8\u540c\u3002\u867d\u7136\u6587\u6863\u4e2d\u6ca1\u6709\u660e\u786e\u8bf4\u660e\uff0c\u4f46\u5f88\u53ef\u80fd\u5728\u80cc\u540e\u4f7f\u7528\u3002\u4e0eAmazon RDS\uff08MySQL\uff09\u7684MARIADB_AUDIT_PLUGIN\u76f8\u6bd4\uff0c\u65e5\u5fd7\u6587\u4ef6\u7684\u8f93\u51fa\u76ee\u6807\u548c\u65cb\u8f6c\u76f8\u5173\u7684\u9879\u76ee\u8f83\u5c11\u3002\u7531\u4e8eRDS\u548cAurora\u7684\u67b6\u6784\u5dee\u5f02\uff0c\u8ba9\u4eba\u518d\u6b21\u610f\u8bc6\u5230\u7528\u6237\u53ef\u4ee5\u89e6\u53ca\uff08\u6307\u5b9a\uff09\u7684\u8303\u56f4\u662f\u4e0d\u540c\u7684\u3002<\/p>\n<blockquote><p>\u65e5\u5fd7\u6587\u4ef6\u91c7\u7528UTF-8\u7f16\u7801\u683c\u5f0f\u3002\u65e5\u5fd7\u4f1a\u88ab\u5199\u5165\u591a\u4e2a\u6587\u4ef6\u4e2d\uff0c\u6587\u4ef6\u6570\u91cf\u6839\u636e\u5b9e\u4f8b\u5927\u5c0f\u800c\u5f02\u3002\u5982\u679c\u9700\u8981\u67e5\u770b\u6700\u65b0\u4e8b\u4ef6\uff0c\u53ef\u80fd\u9700\u8981\u68c0\u67e5\u6240\u6709\u5ba1\u6838\u65e5\u5fd7\u6587\u4ef6\u3002<br \/>\n\u65e5\u5fd7\u6587\u4ef6\u5728\u8fbe\u5230\u603b\u8ba1100MB\u65f6\u4f1a\u8fdb\u884c\u8f6e\u8f6c\u3002\u8be5\u9650\u5236\u65e0\u6cd5\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p><\/blockquote>\n<h1>\u6700\u540e<\/p>\n<p>\u672c\u6765\u6211\u53ea\u662f\u6253\u7b97\u5199\u4e0b\u65e5\u5fd7\u683c\u5f0f\u5c31\u7b97\u5b8c\u6210\u4e86\uff0c\u4f46\u662f\u8ba8\u8bba\u8d77\u5982\u4f55\u67e5\u627e\u6b63\u5f0f\u7684\u6765\u6e90\u65f6\u6ce2\u53ca\u5f00\u6765\u3002\u6211\u603b\u662f\u4e00\u4e0d\u5c0f\u5fc3\u5c31\u53bb\u770bAWS\u5b98\u65b9\u6587\u6863\uff0c\u4f46\u662f\u4e3a\u4e86\u4e0d\u5728EC2\u6587\u6863\u4e2d\u786e\u8ba4Linux\u65e5\u5fd7\uff08\u4f8b\u5982\/var\/log\/messages\uff09\u7684\u65e5\u5fd7\u683c\u5f0f\uff0c\u6211\u610f\u8bc6\u5230\u9700\u8981\u610f\u8bc6\u5230AWS\u63d0\u4f9b\u7684\u8303\u56f4\uff0c\u5e76\u9002\u5f53\u53c2\u8003\u5176\u4ed6\u5e94\u8be5\u67e5\u627e\u7684\u6765\u6e90\u3002<\/p>\n<p>\u6211\u672c\u6765\u8fd8\u60f3\u5199\u4e00\u4e0b\u5173\u4e8e\u6700\u521d\u7684\u65e5\u5fd7\u8f93\u51fa\u793a\u4f8b1~3\u8ba9\u6211\u611f\u5230\u7591\u60d1\u7684\u4e8b\u60c5\uff0c\u4f46\u8fd9\u5c06\u7559\u5f85\u4e0b\u6b21\u518d\u5199\u3002<\/p>\n<div>\u8fde\u7ed3\uff08CONNECT\uff09\u3001\u89e3\u8fde\uff08DISCONNECT\uff09\u3001\u8fde\u63a5\u5931\u8d25\uff08FAILED_CONNECT\uff09\u8fd9\u4e09\u4e2a\uff0c\u90fd\u5c5e\u4e8e\u201c\u8fde\u7ed3\u201d\u7c7b\u578b\uff0c\u662f\u8fd9\u6837\u7406\u89e3\u7684\u5417\uff1f\u6211\u4e0d\u592a\u660e\u767d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 (Note: &#8220;\u306f\u3058\u3081\u306b&#8221; means &#8220;first&#8221;  [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28997","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u786e\u8ba4amazon-rds\uff08mysql\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010mariadb_audit_plugin\u3011\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u786e\u8ba4amazon-rds\uff08mysql\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010mariadb_audit_plugin\u3011\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T11:12:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T03:13:24+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/\",\"name\":\"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-07-28T11:12:17+00:00\",\"dateModified\":\"2025-08-12T03:13:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"description\":\"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u786e\u8ba4amazon-rds\uff08mysql\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010mariadb_audit_plugin\u3011\/","og_locale":"zh_CN","og_type":"article","og_title":"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011","og_description":"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u786e\u8ba4amazon-rds\uff08mysql\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010mariadb_audit_plugin\u3011\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-07-28T11:12:17+00:00","article_modified_time":"2025-08-12T03:13:24+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/","name":"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-07-28T11:12:17+00:00","dateModified":"2025-08-12T03:13:24+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"description":"\u5173\u4e8e\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u786e\u8ba4Amazon RDS\uff08MySQL\uff09\u7684\u5ba1\u8ba1\u65e5\u5fd7\u683c\u5f0f\u3002\u3010MARIADB_AUDIT_PLUGIN\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%a1%ae%e8%ae%a4amazon-rds%ef%bc%88mysql%ef%bc%89%e7%9a%84%e5%ae%a1%e8%ae%a1%e6%97%a5%e5%bf%97%e6%a0%bc%e5%bc%8f%e3%80%82%e3%80%90mariadb_audit_plugin%e3%80%91\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28997"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28997\/revisions"}],"predecessor-version":[{"id":111423,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28997\/revisions\/111423"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}