copilot help svc logs

Displays logs of a deployed service

Options

NameDescription
--app, -a <name>Name of the application
--end-time <end-time>Optional. Only return logs before a specific date (RFC3339). Defaults to all logs
--name, -n <name>Name of the environment
--followOptional. Specifies if the logs should be streamed
--jsonOutputs in JSON format
--limit <limit>Optional. The maximum number of log events returned. Default is 10 unless any time filtering flags are set
--log-group <log-group>Optional. Only return logs from specific log group
--name, -n <name>Name of the service
--since <since>Optional. Only return logs newer than a relative duration like 5s, 2m, or 3h. Defaults to all logs
--start-time <start-time>Optional. Only return logs after a specific date (RFC3339). Defaults to all logs
--tasks <tasks>Optional. Only return logs from specific task IDs
--help, -hHelp for command