Skip to Content
CLI & APICommand reference

stackblaze events

Show recent events for an app

Usage: stackblaze events [options]

Show recent events for an app

Options:
  --api-url <url>        StackBlaze API base URL (env STACKBLAZE_API_URL)
  --token <token>        API token, sb_pat_... (env STACKBLAZE_TOKEN)
  -p, --project <name>   Project name
  -e, --env <name>       Environment name (default: production)
  -a, --app <name>       App name
  --json                 Output JSON (same as -o json) (default: false)
  --all                  Include events of the deploy placeholder pod (hidden
                         by default) (default: false)
  -n, --limit <n>        Max events to show (newest N, default 20)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Example

Show the newest 10 events of an app: pods being scheduled, images pulled, containers started and stopped.

stackblaze events -p github-demo-gv35 -e dev -a nginx -n 10
OK github-demo-gv35/dev/nginx-9agm
  (newest 10 of 31; -n <count> for more)
  Killing: Stopping container web
  SuccessfulCreate: Created pod: nginx-9agm-web-78d78c7586-bhm6w
  Scheduled: Successfully assigned github-demo-gv35-dev/nginx-9agm-web-78d78c7586-bhm6w to cloud-dev-central-1-tenant-strxl-889ff
  Pulled: Container image "busybox:1.36" already present on machine and can be accessed by the pod
  Created: Container created
  Started: Container started
  Pulling: Pulling image "nginx:latest"
  Pulled: Successfully pulled image "nginx:latest" in 535ms (535ms including waiting). Image size: 63922276 bytes.
  Created: Container created
  Started: Container started

On this page