Skip to content

Commit a696542

Browse files
committed
Update audit log section
* Add `audit_log` config section * Rewrite `Audit log module` page
1 parent 4cd1251 commit a696542

File tree

9 files changed

+653
-393
lines changed

9 files changed

+653
-393
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
groups:
2+
group001:
3+
iproto:
4+
listen:
5+
- uri: '127.0.0.1:3301'
6+
replicasets:
7+
replicaset001:
8+
instances:
9+
instance001:
10+
audit_log:
11+
to: file
12+
file: 'audit_tarantool.log'
13+
filter: [ user_create,data_operations,ddl ]
14+
format: json
15+
spaces: [ bands ]
16+
extract_key: true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
groups:
2+
group001:
3+
iproto:
4+
listen:
5+
- uri: '127.0.0.1:3301'
6+
replicasets:
7+
replicaset001:
8+
instances:
9+
instance001:
10+
audit_log:
11+
to: pipe
12+
pipe: 'cronolog audit_tarantool.log'
13+
format: json
14+
extract_key: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
groups:
2+
group001:
3+
iproto:
4+
listen:
5+
- uri: '127.0.0.1:3301'
6+
replicasets:
7+
replicaset001:
8+
instances:
9+
instance001:
10+
audit_log:
11+
to: syslog
12+
syslog_server: 'unix:/dev/log'
13+
syslog_facility: user
14+
syslog_identity: 'tarantool'
15+
filter: 'audit,auth,priv,password_change,access_denied'
16+
extract_key: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
instance001:

0 commit comments

Comments
 (0)