minkms logs
Print the minkms
server logs for the specified Key Manager host.
SYNTAX
minkms logs \
HOST[:PORT] \
[-k | --insecure] \
[-q | --quiet] \
[--short] \
[--json] \
[-a | --api-key KEY] \
[-l | --level LEVEL] \
[-m | --message MSG] \
[--since WHEN] \
[-n | --records NUM]
PARAMETERS
HOST[:PORT]
Required
The address (and optional port) of the KMS server to fetch logs from.
:PORT
defaults to 7373
if omitted.
--api-key
Optional
Alias : -a
The API key of an identity the command uses to authenticate to the Key Manager cluster.
Defaults to the value of MINIO_KMS_API_KEY
.
--level
Optional
Alias : -l
Only show records with this log level.
Defaults to INFO
.
--message
Optional
Alias : -m
Only show records containing this message.
--since
Optional
Alias : -s
Show historical records.
WHEN
may be an absolute point in time or relative to the current time, like today
or 5 min ago
.
The following table describes the supported syntax and outcomes:
Syntax | Description | Example Values |
---|---|---|
today |
Start of the current day | --since today |
yesterday |
Start of the previous day | --since yesterday |
day[s] ago |
Start of the day(s) N days ago | --since 3 days ago |
hour[s] ago |
Start of the hour(s) N hours ago | --since 2 hours ago |
minute[s] ago |
Start of the minute(s) N minutes ago | --since 15 minutes ago |
second[s] ago |
Start of the second(s) N seconds ago | --since 30 seconds ago |
ago |
Supports Go time durations | --since 1hr30s ago |
--trace
Optional
Only show stack traces for records with a log level >= LEVEL
.
Defaults to ERROR
.
--short
Optional
Only print the timestamp, log level and log message as one line.
--records
Optional
Alias : -n
Print only the latest N
log records.
--quiet
Optional
Alias : -q
Suppress all informational messages and only show log records.
--json
Optional
Print output in JSON format.
--insecure
Optional
Alias : -k
Skip server certificate verification.