(incus_monitor.md)=
# `incus monitor`

Monitor a local or remote server

## Synopsis
```{line-block}

Description
  Monitor a local or remote server

  By default the monitor will listen to all message types.



```
```
incus monitor [<remote>:] [flags]
```

## Examples

```
  incus monitor --type=logging
      Only show log messages.

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

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

  incus monitor --target=server01 --type=logging
      Only show log messages from a specific cluster member.
```

## Options

```
      --all-projects[=true|false]   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[=true|false]         Pretty rendering (short for --format=pretty)
      --target                      Cluster member name
  -t, --type                        Event type to listen for (may be passed multiple times)
```

## Options inherited from parent commands

```
      --debug[=true|false]          Show all debug messages
      --explain[=true|false]        If the command is valid, explain its parsed arguments instead of running it
      --force-local[=true|false]    Force using the local unix socket
  -h, --help[=true|false]           Print help
      --project                     Override the source project
  -q, --quiet[=true|false]          Don't show progress information
      --sub-commands[=true|false]   Use with help or --help to view sub-commands
  -v, --verbose[=true|false]        Show all information messages
      --version[=true|false]        Print version number
```

## SEE ALSO

* [incus](incus.md)	 - Command line client for Incus

