Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-5643

API to get XDCR log is out of date. Need to update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 6.5 Milestone 1
    • Mad Hatter
    • rest, xdcr
    • None
    • DOC-2019-S22-Nov01, DOC-2020-S1-Jan13, DOC-2020-S2-Jan27, DOC-2020-S3-Feb23

    Description

      Couchbase server 6.5.0-3973

      Rest API to get XDCR log is out of date. Need to update its syntax.
      https://docs.couchbase.com/server/6.5/rest-api/rest-logs-get.html

      saigon:testrunner thuan$ curl -v  -u Administrator:password http://001compute.amazonaws.com:8091/sasl_logs/xdcr_error
       
      > 
      < HTTP/1.1 404 Object Not Found
      < X-XSS-Protection: 1; mode=block
      < X-Permitted-Cross-Domain-Policies: none
      < X-Frame-Options: DENY
      < X-Content-Type-Options: nosniff
      < Server: Couchbase Server
      < Pragma: no-cache
      < Expires: Thu, 01 Jan 1970 00:00:00 GMT
      < Date: Mon, 12 Aug 2019 17:49:14 GMT
      < Content-Type: text/plain
      < Content-Length: 31
      < Cache-Control: no-cache,no-store,must-revalidate
      < 
      Requested log file not found.
      * Connection #0 to host 001compute.amazonaws.com left intact
      saigon:testrunner thuan$ curl -v  -u Administrator:password http://001compute.amazonaws.com:8091/sasl_logs/xdcr
       
      > 
      < HTTP/1.1 404 Object Not Found
      < X-XSS-Protection: 1; mode=block
      < X-Permitted-Cross-Domain-Policies: none
      < X-Frame-Options: DENY
      < X-Content-Type-Options: nosniff
      < Server: Couchbase Server
      < Pragma: no-cache
      < Expires: Thu, 01 Jan 1970 00:00:00 GMT
      < Date: Mon, 12 Aug 2019 17:49:25 GMT
      < Content-Type: text/plain
      < Content-Length: 31
      < Cache-Control: no-cache,no-store,must-revalidate
      < 
      Requested log file not found.
      * Connection #0 to host 001compute.amazonaws.com left intact
      saigon:testrunner thuan$ 
      
      

      Correct value should be goxdcr
      Doc team needs to talk to Neil Huang to get more information.

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty