View application logs as generated by the application running on the Fly platform.

Logs can be filtered to a specific instance using the --instance/-i flag or to all instances running in a specific region using the --region/-r flag.

Usage

flyctl logs [flags]

Available Commands

  • dashboard - View and analyze logs in a web browser
  • ship - Ship application logs to Logtail
  • unship - Stop shipping application logs to Logtail

Options

  -a, --app string        Application name
  -c, --config string     Path to application configuration file
  -h, --help              help for logs
  -i, --instance string   Filter by instance ID
  -j, --json              JSON output
  -r, --region string     The target region (see 'flyctl platform regions')

Global Options

  -t, --access-token string   Fly API Access Token
      --verbose               Verbose output

See Also