Skip to main content

Logs

expanso-cli job logs

Shows the logs of a job in realtime

Synopsis

Stream live logs for a running job. Logs flow from the orchestrator's WebSocket endpoint; closing it stops streaming.

expanso-cli job logs JOB_NAME [flags]

Examples

# Show logs for a job (orchestrator picks a node)
expanso-cli job logs my-job

# Show logs for a job from a specific node
expanso-cli job logs my-job --node node1-id

Options

-f, --format {|json|yaml} Output format
-h, --help help for logs
--no-style Disable colors and styling
--node string Specific edge node to stream from; defaults to orchestrator's pick.
--pretty Pretty print the output

Options inherited from parent commands

--api-key string API key for authentication (e.g., exp_ak_...)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO