The Vault website is being redesigned to help you find what you are looking for more effectively.
monitor command shows a real time display of the server logs of a Vault
server. This command accepts a log level as an argument, which can be different
from the log level that the Vault server was started with.
monitor command honors the
VAULT_ADDR environment variable. The address
specified determines the target server that will be monitored.
Note that this command is designed to run indefinitely. It is similar to
tail -f in the Unix world. This command will not exit on its own unless
it encounters an unexpected error. As a user, you must terminate this
process yourself to shut it down.
If Vault is emitting log messages faster than a receiver can process them, the some log lines will be dropped.
Monitor server logs at the
debug log level:
$ vault monitor -log-level=debug
The following flags are available in addition to the standard set of flags included on all commands.
(string: "info")- Monitor the Vault server at this log level. Valid log levels are (in order of detail) "trace", "debug", "info", "warn", "error". If this option is not specified, "info" is used.
(string: "standard")- Format to emit logs. Valid formats are "standard", and "json". If this option is not specified, "standard" is used.