Description
The example for /opt/couchbase/bin/couchbase-cli setting-audit --help prints out:
couchbase-cli setting-audit -c 192.168.0.1:8091 \
--audit-enabled=1 --audit-log-rotate-interval=4 \
--audit-log-path="/opt/couchbase/var/lib/couchbase/logs"
-u Administrator -p password
If you try the command you get an error with:
ERROR: unable to set audit settings (400) Bad Request
{"errors":{"rotateInterval":"The value of rotateInterval must be in range from 15 minutes to 7 days"}}
I guess the easiest is to change the example to use 900 instead of 4
Attachments
For Gerrit Dashboard: MB-18806 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
61781,2 | MB-18806: Fix example in help message for audit-settings command | master | couchbase-cli | Status: MERGED | +2 | +1 |