stackery logs
stackery logs
View function logs
Synopsis
Display logged events for all deployed functions. If a function is specified by name or by ID, logs are displayed for that function only.
stackery logs --stack-name=<name> --env-name=<name> [flags]
Examples
Display AWS CloudWatch logs for a function deployed in the "production"
environment. AWS credentials are given in the user's "production" profile.
stackery logs -n my-stack -e production --aws-profile production --function-id Function2
Options
--access-key-id string AWS access key ID
--aws-profile string AWS profile name
-e, --env-name string The environment name
--function-id string Display the log for a particular function by ID
--function-name string Display the log for a particular function by name
-h, --help help for logs
--secret-access-key string AWS secret access key
--session-token string AWS session token
--since string Get logs from <time> ago, where <time> is 20m, 24h, etc. (default "5m")
-n, --stack-name string The stack name
--stream Wait for new messages to become available
Options inherited from parent commands
--non-interactive Skip user inputs
SEE ALSO
- stackery - Stackery command line tool