Module 9 - Collect Couchbase Logs & Upload the Logs to the Couchbase Support Ticket

  Collecting Logs Using CLI (All nodes)  

couchbase-cli collect-logs-start -c <ip> -u Admin -p password --all-nodes
--redaction-level partial
  Collecting Logs Using CLI – Individual Node  
/opt/couchbase/bin/cbcollect_info <options> <output_file>
  Check the log collection current status  
couchbase-cli collect-log-status -c <ip> -u Admin -p password
  Stop the log collection  
couchbase-cli collect-log-stop -c <ip> -u Admin -p password
  Collecting Logs Using REST API  
curl -X POST http://localhost:8091/controller/startLogsCollection
-u Administrator:password
-d logRedactionLevel=partial
-d logRedactionSalt=W23trXNuHWzr+ke7gnuUaKdsfewedFIynjhImeMYH3w3=
-d nodes=*
  Default log directory  
/opt/couchbase/var/lib/couchbase/logs
  Manually upload a zip file to Couchbase Support S3  
curl --upload-file <file> https://uploads.couchbase.com/<customer>/<ticket#>/

Note:  Make sure that uploads.couchbase.com is NOT blocked for uploads  by a firewall from the executing node.
  Couchbase Technical Support Details  
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

Post a Comment

Previous Post Next Post