bm admin logs
Diagnostic Data Handling
Some bm support commands can generate diagnostic or performance data that may include sensitive details about your environment.
Review the output before sharing it outside your organization.
Description
Use the bm admin logs command to show buckit server logs.
The uploading feature remains disabled by default until explicitly enabled for a deployment on an opt-in only basis.
If enabled, you can disable the feature at any time with bm support callhome disable.
Examples
Show Logs for a Deployment
The following command displays the most recent ten server logs of any type for the alias minio1.
bm admin logs minio1
Show Last 5 Log Entries for a Node
The following command shows the most recent five log entries for a node1 on the deployment with alias minio1.
bm admin logs --last 5 mybuckit node1
Show Application Type Log Entires for a Deployment
The following command shows log entries of the type application for all nodes on the deployment with alias minio1.
bm admin logs --type application minio1
Syntax
The command has the following syntax:
bm admin logs [GLOBAL FLAGS] \
[--last, -l value] \
[--type, -t value] \
ALIAS \
[NODE]
Parameters
- ALIAS
- Required
The alias of the Buckit deployment.
- --last, -l
- Optional
Show only the most recent specified number of log entries.
If this flag is not included, up to the last 10 log entries show.
Global Flags
This command supports any of the global flags.