Skip to content

kx logs

Streams logs for an indexed resource. Deployments, StatefulSets, DaemonSets and Services aggregate logs across the pods they own.

Unrecognized flags are passed through to kubectl.

Usage

kx logs [OPTIONS] <index>... [kubectl flags]

Arguments

ArgumentDescription
<index>...Row number from the current listing; run kx state to see it

Global options

OptionDescription
--no-colorDisable styled output
-h, --helpShow this message and exit

Examples

kx logs 1
kx logs 1 2
kx logs 1 -f --tail=100
kx logs 1..3
kx logs 3..