3 ms·
There is probably something out already - https://softwarerecs.stackexchange.com/questions/37881/log-viewer-with-json-support https://softwarerecs.stackexchang
by java-man 8y ago
There is probably something out already -
https://softwarerecs.stackexchange.com/questions/37881/log-viewer-with-json-support https://softwarerecs.stackexchange.com/questions/37881/log-v...
https://github.com/gistia/json-log-viewer https://github.com/gistia/json-log-viewer
https://github.com/brocode/fblog https://github.com/brocode/fblog
I am currently writing a log viewer / terminal combo for internal use. Handling milti-line json with tailing is a bit of a challenge though.
- 87 8y agoOh I put the newlines on HN for readability, the actual logs don't have that. There are numerous tools that handle json logs on the cli, for example there's jq so you could tail -F my.log | jq <filter> This is okay, but changing filters isn't trivial, running the commands and displaying side-by-side isn't trivial etc etc. So say you can develop a decent emacs workflow using that, but once you get a new dev you cannot really pass it on. And if they're not much of a cli person then yea... Thanks for gistia/json-log-viewer I'll check it out, though it doesn't seem to solve that much it's still interesting. There's some nice Kibana stuff out there, but it seems single-view-at-a-time focused too