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

Analytics CLF logs omits user

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • Analytics Sprint 33

    Description

      The Analytics CLF logger (seemingly intentionally) omits user information.

       

      127.0.0.1 -  - [21/Dec/2023:10:43:13 -0500] "GET /admin/ping HTTP/1.1" 200 16 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15"
      127.0.0.1 -  - [21/Dec/2023:10:43:13 -0500] "GET /analytics/link HTTP/1.1" 200 2 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15"
      127.0.0.1 -  - [21/Dec/2023:10:43:13 -0500] "POST /query/service HTTP/1.1" 200 561 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15" 
      

      Ns_server, by contrast, includes this information:
       

      ::1 - couchbase/UI [21/Dec/2023:10:45:57 -0500] "GET /pools/default?etag=38420004&waitChange=10000 HTTP/1.1" 200 5043 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15" 10003
      127.0.0.1 - couchbase [21/Dec/2023:10:45:57 -0500] "POST /_cbauth HTTP/1.1" 200 37 "http://localhost:9000/ui/index.html" "couchbase-analytics/7.6.0" 1
      127.0.0.1 - couchbase [21/Dec/2023:10:45:57 -0500] "POST /pools/default/checkPermissions HTTP/1.1" 200 279 "http://localhost:9000/ui/index.html" "couchbase-analytics/7.6.0" 1
      ::1 - couchbase/UI [21/Dec/2023:10:46:07 -0500] "GET /pools/default?etag=38420004&waitChange=10000 HTTP/1.1" 200 5043 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15" 10003
      127.0.0.1 - @cbq-engine [21/Dec/2023:10:46:18 -0500] "GET /_metakv/indexing/info/versionToken HTTP/1.1" 200 125 - "cbq-engine-metakv" 0
      127.0.0.1 - @cbq-engine [21/Dec/2023:10:46:18 -0500] "GET /pools HTTP/1.1" 200 971 - "Go-http-client/1.1" 1
      

      As this can be helpful for supportability to include this information, we should endeavor to do this for Trinity.

       

      Attachments

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

        Activity

          People

            umang.agrawal Umang
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty