You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/rest-api/pages/rest-auditing.adoc
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,16 +58,17 @@ When auditing is enabled, all _non-filterable_ events are audited; and none can
58
58
* The `logPath` parameter specifies the pathname of the directory to which the `audit.log` file is written.
59
59
60
60
[#pruneAge]
61
-
* The `pruneAge` parameter sets the number of minutes Couchbase Server keeps rotated audit logs.
61
+
* The `pruneAge` parameter sets the number of seconds Couchbase Server keeps rotated audit logs.
62
62
When set to the minimum value 0 (the default), Couchbase Server does not prune rotated audit logs.
63
-
If set to a value greater than 0, Couchbase Server deletes rotated audit logs that are older than this value in minutes.
64
-
The maximum value for this setting is 35791394 (4085 years).
63
+
If set to a value greater than 0, Couchbase Server deletes rotated audit logs that are older than this value in seconds.
64
+
The maximum value for this setting is 35791394 (1 year, 45 days, 15 hours, 29 minutes, and 54 seconds).
65
65
66
66
* The `rotateInterval` parameter specifies the maximum time-period that is to elapse between log-rotations.
67
-
Its value must be a number of seconds, in the range of 900 (15 minutes) to 604800 (7 days), inclusive.
67
+
Its value must be a number of seconds and must be a multiple of 60. The value must also be in the range of 900 (15 minutes) to 604800 (7 days), inclusive.
68
68
69
69
* The `rotateSize` parameter specifes the maximum size to which the `audit.log` file is permitted to grow, before being rotated.
70
-
Its value must be a number of bytes, in the range of 0 to 524288000 (500 MB), inclusive.
70
+
Its value must be a number of bytes, in the range of 11048576 to 524288000 (1 MiB to 500 MiB), inclusive.
71
+
The default is 20971520 (20 MiB).
71
72
72
73
* The `disabled` parameter indicates which individual _filterable_ events are disabled.
73
74
Its value must be one or more filterable-event ids, specified as a comma-separated list, without spaces.
@@ -124,7 +125,7 @@ Each member is an object of two elements, which are the _name_ of the disabled u
124
125
125
126
* _logPath_: The current value of the pathname to which the `audit.log` file is being written.
126
127
127
-
* _pruneAge_: The number of minutes Couchbase Server keeps rotated audit logs. The value `0` means Couchbase Server does not automatically prune these logs.
128
+
* _pruneAge_: The number of seconds Couchbase Server keeps rotated audit logs. The value `0` means Couchbase Server does not automatically prune these logs.
128
129
129
130
* _rotateInterval_: An integer that is the number of seconds in the maximum time-period on whose elapse the log file is rotated.
0 commit comments