/sys/monitor
The /sys/monitor
endpoint is used to receive streaming logs from the Vault server.
If Vault is emitting log messages faster than a receiver can process them, then some log lines will be dropped.
Monitor system logs
This endpoint streams logs back to the client from Vault. Note that unlike most API endpoints in Vault, this one does not return JSON by default. This will send back data in whatever log format Vault has been configured with. By default, this is text.
Method | Path |
---|---|
GET | /sys/monitor |
Parameters
log_level
(string: "info")
– Specifies the log level to use when streaming logs. This defaults toinfo
if not specified.log_format
(string: "standard")
– Specifies the log format to emit when streaming logs. Supported values are "standard" and "json". The default isstandard
. if not specified.
Sample request
Sample response