1

Is there a log viewer

Preferably in the Ubuntu repositories or available via PyPI/pip, but if the quality is really high having it only on Github should be ok as well.

At a minimum, the log viewer should have the following properties / features:

  • Remove the JSON syntax and display the logs in a nice way
  • Automatically update when the file is updated
  • Be able to handle big log files (10 MB should not be a problem, it would be nice if it could deal with 100 MB easily as well)
7
  • tail -f /var/log/logfile works good for me, sometimes I add a |grep servicename - ie, tail -f /var/log/syslog | grep named
    – ivanivan
    Jan 11, 2018 at 2:57
  • @ivanivan Well... if you use this, you don't benefit from structured logs, do you? Jan 11, 2018 at 7:25
  • If you "remove" JSON (what logs have JSON inside, by the way?) you don't benefit from their structure either, do you? :) But yes, concerning tail I'm with you in this context. I sometimes use the "System Logs" tool that ships with the desktop (I'm using Mint Cinnamon) for structured view – and tail/less as well, depending on what I'm doing. System Logs should almost meet your requirements (not sure about the JSON part, though).
    – Izzy
    Jan 11, 2018 at 7:34
  • @Izzy I wrote "remove JSON syntax", meaning that it should not simply display it. I am new to structured logging and currently I don't know how it is better than usual logging, so I can't really tell which features a log viewer should have. Jan 11, 2018 at 7:58
  • 1
    Possible duplicate of Apache Log Viewer alternative for Linux
    – kenorb
    Mar 2, 2018 at 20:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.