pcluster list-cluster-log-streams
Retrieve the list of log streams associated with a cluster.
pcluster list-cluster-log-streams [-h] --cluster-nameCLUSTER_NAME[--filtersFILTERS[FILTERS...]] [--next-tokenNEXT_TOKEN] [--debug] [--queryQUERY] [--regionREGION]
Named arguments
-h, --help-
Shows the help text for
pcluster list-cluster-log-streams. --cluster-name, -nCLUSTER_NAME-
Specifies the name of the cluster.
--debug-
Enables debug logging.
--filtersFILTERS[FILTERS...]-
Specifies filters for the log streams. Format:
Name=a,Values=1 Name=b,Values=2,3. Supported filters are:private-dns-name-
Specifies the short form of the private DNS name of the instance (e.g.
ip-10-0-0-101). node-type-
Specifies the node type, the only accepted value for this filter is
HeadNode.
--next-tokenNEXT_TOKEN-
The token for the next set of results.
--queryQUERY-
Specifies the JMESPath query to perform on the output.
--region, -rREGION-
Specifies the AWS Region to use. The AWS Region must be specified, using the
AWS_DEFAULT_REGIONenvironment variable, theregionsetting in the[default]section of the~/.aws/configfile, or the--regionparameter.
Example using AWS ParallelCluster version 3.1.4:
$pcluster list-cluster-log-streams \ -ncluster-v3\ -rus-east-1\ --query'logStreams[*].logStreamName'[ "ip-172-31-58-205.i-1234567890abcdef0.cfn-init", "ip-172-31-58-205.i-1234567890abcdef0.chef-client", "ip-172-31-58-205.i-1234567890abcdef0.cloud-init", "ip-172-31-58-205.i-1234567890abcdef0.clustermgtd", "ip-172-31-58-205.i-1234567890abcdef0.slurmctld", "ip-172-31-58-205.i-1234567890abcdef0.supervisord", "ip-172-31-58-205.i-1234567890abcdef0.system-messages" ]