Skip to main content

miren logs system

View system logs

Usage

miren logs system <component> [flags]

Arguments

  • component — System component to filter by (e.g., 'etcd', 'scheduler')

Flags

  • --cluster, -C — Cluster name
  • --config — Path to the config file
  • --follow, -f — Follow log output (live tail)
  • --format — Output format (text, json) (default: text)
  • --grep, -g — Filter logs (e.g., 'error', '"exact phrase"', 'error -debug', '/regex/')
  • --json — Shorthand for --format json
  • --last, -l — Show logs from the last duration

Global Options

  • --options — Path to file containing options
  • --server-address — Server address to connect to (default: 127.0.0.1:8443)
  • --verbose, -v — Enable verbose output

Examples

View all system logs:

miren logs system

View logs for a specific component:

miren logs system etcd

Follow system logs:

miren logs system -f

See also