3 ms·
Can you pipe output from another command to jless and have it detect when it finds a JSON document? I often tail the logs of my servers and then need to inspect
by xrd 5y ago
Can you pipe output from another command to jless and have it detect when it finds a JSON document? I often tail the logs of my servers and then need to inspect the JSON data from say an API call. I usually do that by copying the entirety of the log into a bug report and then extracting the relevant pieces out and then using jq and it's a big hassle. Could I use jless to make this easier?
Really nice looking tool and awesome home page. It's so nice when a tool immediately shows you exactly what makes it special (instead of giving you dozens of installation notes, etc...)
- PhilippGille 5y agoFor this specific use case there are log view tools that allow you to navigate logs and can automatically format json, xml etc when inside a log line. For example lnav: https://lnav.org/features#pretty-print-view https://lnav.org/features#pretty-print-view