Diagnostics with cbcollect_info
You can start, stop, and get collection status by using the cbcollect_info tool.
The cbcollect_info tool uses the following syntax:
cbcollect_info
[
OPTIONS
]
[ {
output-file
} ]
Option | Description |
---|---|
--upload -u |
Enable upload mode. When you use this option, you must also specify the --upload-host and --customer options, and you can optionally specify the --ticket option. |
--upload-host=hostname
-n hostname |
Fully-qualified domain name of the host you want the logs uploaded to. The protocol prefix of the domain name, https://, is optional. It is the default only supported protocol. This option is required when you specify the --upload option. |
--customer=customer-name -c customer-name |
Customer name. This value is a string with a maximum length of 50 characters that contains only the following characters: [A-Za-z0-9_.-]. If any other characters are included in the string, the request will be rejected. This option is required when you specify the --upload option. |
--ticket=ticket-number -t ticket-number |
Couchbase support ticket number. This value is a string with a maximum length of 7 character that contains only digits 0-9. The ticket number is optional and is used only in conjunction with the --upload option. |
--script | Send output to stdout in script mode format. Use this option when invoking cbcollect_info programatically. |
If the --upload option is used, the collected logs are compressed into a zip file and uploaded to a URL that has the following form: protocol://hostname/customer-name/ticket-number/filename.zip.