yc logging read
Read logs
Command Usage
Syntax:
yc logging read <LOG-GROUP-NAME>|<LOG-GROUP-ID> [SINCE] [FILTER] [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Log group id. |
|
|
Log group name. |
|
|
The maximum number of items to list. |
|
|
Show logs since this time in HH:MM:SS format or RFC-3339, or duration since now. Examples: '15:04:05', '2006-01-02T15:04:05Z', '2h', '3h30m ago' |
|
|
Show logs until this time in HH:MM:SS format or RFC-3339, or duration since now. Examples: '15:04:05', '2006-01-02T15:04:05Z', '2h', '3h30m ago' |
|
|
Output logs as they arrive |
|
|
Show logs with these levels (comma-separated) |
|
|
Use this filter |
|
|
Specifies the maximum response size in bytes. You can also use M and T suffixes to specify MiB or TiB respectively. Default is 3.5 MiB. |
|
|
Show logs with these resource types (comma-separated) |
|
|
Show logs with these resource ids (comma-separated) |
|
|
Show logs with these stream names (comma-separated) |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |