I have to refer large logs everyday(>20K lines).

Sometimes there are JSONs in the logs. These JSONs are HUGE(>3-5K lines) These impact the readability of the logs - making them very difficult to read.

I am looking for a free, preferably open-source log viewer which can help me deal with these JSONs - just simple operations like colour encoding and collapsing(I really need this) will be of great help to improve the readability.

Can someone please suggest something.

  • How to distinguish in these logs what should be treated as JSON (as basically any number is valid JSON by itself) and what shouldn't? Any log example? – TMSZ Jan 11 '18 at 13:38

Found this free library on GitHub which I had used earlier. Log viewer converts the patch of text into individual blocks of json data for easy viewing of large logs of json files. Additionally the log viewer has various search functionality which is useful for such large logs debugging/extracting information. Software is distributed under MIT license.

JSON Log Viewer

Sample snapshot

  • Please add some text explaining why this would help the OP. This is currently just a link-only answer and will probably get deleted. – user416 Oct 21 '18 at 11:08
  • This tool is nice, but does not support tail or reload (not watch nor manual reload) and has a single config for all log files. It doesn't look like it's being actively maintained, but it does offer a nice column view and works quite well if you don't require those things. – Christian Rondeau Feb 18 '20 at 21:23

Not really free but really affordable is JSONBuddy. It has built-in grid and text views and can work with large data as well. It also has syntax-coloring and collapsing. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.