copilot help svc logs
Displays logs of a deployed service
Options
Name | Description |
---|---|
--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 |
--follow | Optional. Specifies if the logs should be streamed |
--json | Outputs 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, -h | Help for command |