View a markdown version of this page

pcluster list-image-log-streams - AWS ParallelCluster

This documentation references AWS ParallelCluster. For running HPC and AI workloads, we recommend AWS Parallel Computing Service (AWS PCS), our managed Slurm service that lets you focus on running your workloads rather than managing infrastructure.

pcluster list-image-log-streams

Retrieve the list of log streams associated with an image.

pcluster list-image-log-streams [-h] --image-id IMAGE_ID [--next-token NEXT_TOKEN] [--debug] [--query QUERY] [--region REGION]

Named arguments

-h, --help

Shows the help text for pcluster list-image-log-streams.

--image-id, -i IMAGE_ID

Specifies the ID of the image.

--debug

Enables debug logging.

--next-token NEXT_TOKEN

The token for the next set of results.

--query QUERY

Specifies the JMESPath query to perform on the output.

--region, -r REGION

Specifies the AWS Region to use. The AWS Region must be specified, using the AWS_DEFAULT_REGION environment variable, the region setting in the [default] section of the ~/.aws/config file, or the --region parameter.

Example using AWS ParallelCluster version 3.1.2:

$ pcluster list-image-log-streams --image-id custom-alinux2-image --region us-east-1 --query 'logStreams[*].logStreamName' [ "3.0.0/1", "3.1.2/1" ]