Skip to content

[Config] Update 'Audit log' to using a new config #3667

@andreyaksenov

Description

@andreyaksenov

Product: Tarantool
Since: 3.0
Root document:

SME: @ Totktonada

Details

Environment variables:

% tarantool --help-env-list | grep AUDIT
| TT_AUDIT_LOG_EXTRACT_KEY                    | boolean        | false                                         | Enterprise Edition |
| TT_AUDIT_LOG_FILE                           | string         | var/log/{{ instance_name }}/audit.log         | Enterprise Edition |
| TT_AUDIT_LOG_FILTER                         | array          | nil                                           | Enterprise Edition |
| TT_AUDIT_LOG_FORMAT                         | string         | json                                          | Enterprise Edition |
| TT_AUDIT_LOG_NONBLOCK                       | boolean        | false                                         | Enterprise Edition |
| TT_AUDIT_LOG_PIPE                           | string         | box.NULL                                      | Enterprise Edition |
| TT_AUDIT_LOG_SPACES                         | array          | box.NULL                                      | Enterprise Edition |
| TT_AUDIT_LOG_SYSLOG_FACILITY                | string         | local7                                        | Enterprise Edition |
| TT_AUDIT_LOG_SYSLOG_IDENTITY                | string         | tarantool                                     | Enterprise Edition |
| TT_AUDIT_LOG_SYSLOG_SERVER                  | string         | box.NULL                                      | Enterprise Edition |
| TT_AUDIT_LOG_TO                             | string         | devnull                                       | Enterprise Edition |

Schema: https://github.com/tarantool/tarantool/blob/aab0096945f0e1561429f45f7297e5082b2ea0af/src/box/lua/config/instance_config.lua#L1791

Migration from 2.11 to 3.0: https://docs.google.com/spreadsheets/d/1_yEK9N_hBVWIga9mOk7zZzA6Zd3mAq7e5KZsnrbgj30/edit#gid=0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions