kxi obs
Insights Observability Service commands.
Usage:
text
Copy
kxi obs [OPTIONS] COMMAND [ARGS]...
Options:
text
Copy
--help Show this message and exit.
kxi obs logs
Get logs for a process running on insights.
Usage:
text
Copy
kxi obs logs [OPTIONS]
Options:
text
Copy
-n, --namespace TEXT Kubernetes namespace
--timeout INTEGER Timeout in seconds for request
-w, --watch Watch logs continuously. Until interrupted.
--pod TEXT Filter on name of workload pod.
--container TEXT Filter on name of workload container.
--workload TEXT Limit results to components identified as
being related to given workload.
--label TEXT Comma separated list of labels and values to
filter pods.
--component TEXT Regex to be applied to workload name.
--level [TRACE|DEBUG|INFO|WARN|WARNING|ERROR|FATAL]
Minimum log level to return. [default:
INFO]
--log-component TEXT Filter based on the log message 'component'
field.
--search TEXT Simple string search of log message field.
Case insensitive.
--corr TEXT Filter log messages based on 'correlator'
field.
--since-seconds INTEGER A relative time in secs before the current
time from which to show logs.
--since-time TEXT An RFC3339 timestamp from which to show
logs.
--tail-lines INTEGER The number of lines from the end of the logs
to show for each container.
--aggregate Aggregate all log messages based on their
log level.
--by-pod Group by pod name & log level. `aggregate`
must be set with this flag.
--pretty / --json Pretty print response json.
--help Show this message and exit.