Collecting Logs Using CLI (All nodes)
couchbase-cli collect-logs-start -c <ip> -u Admin -p password --all-nodesCollecting Logs Using CLI – Individual Node
--redaction-level partial
/opt/couchbase/bin/cbcollect_info <options> <output_file>Check the log collection current status
couchbase-cli collect-log-status -c <ip> -u Admin -p passwordStop the log collection
couchbase-cli collect-log-stop -c <ip> -u Admin -p passwordCollecting Logs Using REST API
curl -X POST http://localhost:8091/controller/startLogsCollectionDefault log directory
-u Administrator:password
-d logRedactionLevel=partial
-d logRedactionSalt=W23trXNuHWzr+ke7gnuUaKdsfewedFIynjhImeMYH3w3=
-d nodes=*
/opt/couchbase/var/lib/couchbase/logsManually upload a zip file to Couchbase Support S3
curl --upload-file <file> https://uploads.couchbase.com/<customer>/<ticket#>/Couchbase Technical Support Details
Note: Make sure that uploads.couchbase.com is NOT blocked for uploads by a firewall from the executing node.
https://www.couchbase.com/support/working-with-technical-support
Note: Above are the commands used/mentioned in Module 8 of the Couchbase Database Administration Course.
DISCLAIMER
The purpose of sharing the content on this website is to Educate. The author/owner of the content do not warrant that the information provided on this website is fully complete and shall not be responsible for any errors or omissions.The author/owner shall have neither liability nor responsibility to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the contents of this website. So, use the content of this website at your own risk.
This content has been shared under Educational And Non-Profit Purposes Only. No Copyright Infringement Intended, All Rights Reserved to the Actual Owner.
For Copyright Content Removal Please Contact us by Email at besttechreads[at]gmail.com