Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18806

Example use illegal values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.0
    • 4.5.0
    • tools
    • None
    • Untriaged
    • Unknown

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty