lxc monitor
Description: Monitor a local or remote LXD server Synopsis: Description: Monitor a local or remote LXD server By default the monitor will listen to all message types. Examples: Options: Options inherited from p...

Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# `lxc monitor`

Monitor a local or remote LXD server

## Synopsis

Description: Monitor a local or remote LXD server

By default the monitor will listen to all message types.

    lxc monitor [<remote>:] [flags]

## Examples

      lxc monitor --type=logging
          Only show log messages.

      lxc monitor --pretty --type=logging --loglevel=info
          Show a pretty log of messages with info level or higher.

      lxc monitor --type=lifecycle
          Only show lifecycle events.

## Options

          --all-projects   Show events from all projects
      -f, --format         Format (json|pretty|yaml) (default "yaml")
          --loglevel       Minimum level for log messages (only available when using pretty format)
          --pretty         Pretty rendering (short for --format=pretty)
          --type           Event type to listen for

## Options inherited from parent commands

          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc - Command line client for LXD