Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0
-
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.