k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Container JSON logs are barely readable, introduce some formatting support into k9s

Open gnom7 opened this issue 1 year ago • 4 comments




Is your feature request related to a problem? Please describe. I have my java apps logs output in JSON format in order to easily and reliably parse them and ingest into elastic search. So when viewing container logs in k9s I have to look into JSON which makes it harder to spot something important in logs, JSON logs are barely readable.

Describe the solution you'd like Ideally I'd like to be able to setup some pre processing shell script which will re-format logs to human readable state on the fly when viewing container logs in k9s or have some rules/configs of how to map particular JSON log structure to plain readable string.

gnom7 avatar Jun 20 '23 13:06 gnom7