Retrieve a Zip file containing files from the Agent's log directory. If a list of file names is supplied, only log files matching the specified name(s) will be included.
If a list of file names is not supplied, all of the logs will be included.
Note: WARNING: Depending on the size of the Agent's log files and which files are retrieved, this operation may take considerable time to complete.
Usage
zowe ca7 agent agentLogs [options]
Required Options
Options
CA7 Connection Options
Profile Options
Base Connection Options
- 
--reject-unauthorized|--ru(boolean)
 
- 
--token-type|--tt(string)
 
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
 
- 
--token-value|--tv(string)
 
- The value of the token to pass to the API.
 
- 
--cert-file(local file path)
 
- 
The file path to a certificate file to use for authentication. Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs. 
 
- 
--cert-key-file(local file path)
 
- The file path to a certificate key file to use for authentication
 
Examples