Field error in audit plugin
Bug #1379023 reported by
Olaf van Zandwijk
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
I have the percona audit plugin configured as follows:
audit_log_handler = FILE
audit_log_strategy = ASYNCHRONOUS
audit_log_file = /path/to/audit.log
audit_log_format = JSON
audit_log_policy = LOGINS
audit_log_
audit_log_rotations = 10
This results in records like this:
{
"audit_record":{
"name":"Connect",
"record"
"timestamp"
"connection_
"status":0,
"user":"username",
"priv_user"
"os_login":"",
"proxy_user":"",
"host":"",
"ip":"username",
"db":"10.x.y.z"
}
}
Note for instance the "ip" and "db" field. As it seems to me, those values are incorrect (mixup of keys and values).
Related branches
lp:~sergei.glushchenko/percona-server/5.5-ps-bug1379023
- Laurynas Biveinis (community): Approve
-
Diff: 23 lines (+2/-4)1 file modifiedplugin/audit_log/audit_log.c (+2/-4)
lp:~sergei.glushchenko/percona-server/5.6-ps-bug1379023
- Laurynas Biveinis (community): Approve
-
Diff: 23 lines (+2/-4)1 file modifiedplugin/audit_log/audit_log.c (+2/-4)
To post a comment you must log in.
audit_log_ connection_ record shows the mismatch, in both 5.5 and 5.6