Skip to main content

Name

nebius compute instance logs

Show logs for Instance

Synopsis

nebius compute instance logs [id]
  --follow
  --forward
  --id
  --limit
  --project-id
  --query
  --since
  --until

Positional Arguments

id

ID of the resource.

Options

--follow (bool)

Stream new log entries as they arrive. Ignores —limit and —forward.

--forward (bool)

Display logs in chronological order (oldest first). By default, newest logs are shown first.

--id (string)

ID of the resource.

--limit (int)

Maximum number of log entries to return. Default is 100.

--project-id (string)

Project ID to query logs from. Defaults to parent-id from config if not set.

--query (string)

Filter log entries using LogQL syntax.
For more information see https://docs.nebius.com/observability/logs/query-language.

--since (string)

Show logs starting from this time.
Accepts a duration (7d, 2h, 30m, 10s, 100ms, 1d12h30m, now) of time before now or a timestamp in various formats: (‘2006-01-02T15:04:05.999Z’, ‘2006-01-02T15:04:05Z’, ‘2006-01-02 15:04:05’, ‘2006-01-02’).
Default is 1d.

--until (string)

Show logs up to this time.
Accepts a duration (7d, 2h, 30m, 10s, 100ms, 1d12h30m, now) of time before now or a timestamp in various formats: (‘2006-01-02T15:04:05.999Z’, ‘2006-01-02T15:04:05Z’, ‘2006-01-02 15:04:05’, ‘2006-01-02’).
Default is now.

Global Options

-h, --help (bool)

Show this message.

-p, --profile (string)

Set a profile for interacting with the cloud.

--format (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

-f, --file (string)

Input file. For ‘update’ commands automatically set —full=true.

-c, --config (string)

Provide path to config file.

--debug (bool)

Enable debug logs.

--color (bool)

Enable colored output.

--no-browser (bool)

Do not open browser automatically on auth.

--insecure (bool)

Disable transport security.

--auth-timeout (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

--per-retry-timeout (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

--retries (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

--timeout (duration: 2h30m10s)

Set the timeout for the main request, default is 1m0s.

--no-check-update (bool)

Suppress check for updates.