--- layout: docs page_title: 'monitor - Vault CLI' description: >- Use vault monitor to stream server logs to stdout in real time. --- > [!IMPORTANT] > **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website. # `monitor` Stream Vault server logs in real-time to `stdout`. ```shell-session $ vault monitor [flags] $ vault monitor [-help | -h] ``` ## Description `vault monitor` streams Vault server logs to `stdout` in real time based on the address stored in `VAULT_ADDR` or passed through `-address`. Use the `-log-level` flag to override the default log level set for the Vault server. MonitorLogs - [`GET: /sys/monitor`](/vault/api-docs/system/monitor) ### Limitations and warnings - `vault monitor` runs indefinitely and only exits if an unexpected error occurs. - `vault monitor` may drop log lines if Vault is emitting log messages faster than the receiver can process the input. ## Command arguments None. ## Command options None. ## Command flags
@include 'cli/shared/flags/log-level.mdx'


@include 'cli/shared/flags/log-format.mdx' ## Standard flags @include 'cli/standard-settings/all-standard-flags.mdx' ## Examples Stream server logs at the `debug` log level: ```shell-session $ vault monitor -log-level=debug ```