Skip to main content

Logs

expanso-cli job logs

Shows the logs of a job in realtime

Synopsis

Ask nodes running a specific job to show the logs in realtime.

expanso-cli job logs JOB_NAME [flags]

Examples

  # Show logs for a job
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
--level string Minimum log level (debug, info, warn, error) (default "debug")
--no-style Disable colors and styling
--node string Node
--pretty Pretty print the output

Options inherited from parent commands

      --auth-token string   API bearer authentication token
-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

Auto generated by spf13/cobra on 27-Jan-2026