Skip to main content
Get the logs for an instance

Usage

vastai logs INSTANCE_ID [OPTIONS]

Arguments

INSTANCE_ID
integer
required
id of instance

Options

--tail
string
Number of lines to show from the end of the logs (default ‘1000’)
--filter
string
Grep filter for log entries
--daemon-logs
boolean
Fetch daemon system logs instead of container logs

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)