What’s a Good GUI to View Docker JSON Log Files?

0
11
Asked By CrazyCloud9 On

I'm looking for recommendations on a graphical user interface (GUI) that can help me view a Docker JSON log file I've saved. The logs are super messy and even have those annoying bash color escape sequences in them. I thought there might be a tool out there that could load a JSON log file and display it just like a normal Docker log. Just to clarify, the log files I'm dealing with were generated from a device far away and uploaded to my cloud environment, so they're not run locally.

1 Answer

Answered By LogLover88 On

You could always use the `docker container log` command to see the output directly. If you prefer text files instead of JSON, consider setting the logging driver for your containers to log to syslog or other supported outputs. That way, it could be more manageable in the future! Just check out the Docker logging docs for more info.

SavedLogSlinger -

That sounds like a good plan for future logs, but I'm stuck with these JSON files now. I'm hoping for something like how `journalctl --file my-saved-file` works.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.