argo logs <WORKFOW> [POD]
View logs of a pod or workflow
Arguments
Name | Description |
---|
WORKFOW | |
POD | |
Options
Name | Description |
---|
--container, -c <string> | Print the logs of this container (default "main") |
--follow, -f | Specify if the logs should be streamed |
--grep <string> | Grep for lines |
--help, -h | Help for logs |
--no-color | Disable colorized output |
--previous, -p | Specify if the previously terminated container logs should be returned |
--selector, -l <string> | Log selector for some pod |
--since <duration> | Only return logs newer than a relative duration like 5s 2m or 3h. Defaults to all logs. Only one of since-time / since may be used |
--since-time <string> | Only return logs after a specific date (RFC3339). Defaults to all logs. Only one of since-time / since may be used |
--tail <int> | If set the number of lines from the end of the logs to show. If not specified logs are shown from the creation of the container or sinceSeconds or sinceTime (default -1) |
--timestamps | Include timestamps on each line in the log output |