This App is An Advanced Log File Viewer – lnav

1 min


lnav is an advanced log file viewer for Linux systems.

lnav can unzip all the compressed log files on the fly and merge them together for a nice display. The display is parsed and formatted based on the types of errors/warnings – this helps to quickly glance through the thousands of logs, specially in servers.

While analysing the logs, timestamps are very important. So lnav mergers multiple logs based on timestamps and this is very helpful to track down system issues.

Most of the important log file format detection is built-in, see below:

  • Common Web Access Log format
  • CUPS page_log
  • Syslog
  • Glog
  • VMware ESXi/vCenter Logs
  • dpkg.log
  • uwsgi
  • “Generic” – Any message that starts with a timestamp
  • Strace
  • sudo
  • GZIP, BZIP

That is not all, lnav is also capable of below features which makes it an important app for Linux systems.

  • Filter messages based on regular expression
  • Timeline view of errors
  • Pretty-Print view- helps to reformat
  • Query Log using SQL
  • Log is updated in real-time while being searched
  • Syntax highlight via regular expression (say you want to find out an IP address in entire log)
  • Tab completion of any word from the log which is displayed !!

lnav-running-in-ubutu

 

To look at the screenshots of above features and learn more, visit this page.

How to Install

lnav latest version is 0.8.1. lnav comes with pre-compiled binary, you can just unzip and run.

For Ubuntu, Linux Mint and other derivatives, download below file, extract it and run via terminal by running.

lnav-0.8.1-linux-64bit.zip

For Fedora, RHEL, download below file, unzip and run via terminal.

lnav-0.8.1-1.x86_64.rpm

Command from terminal:

./lnav

You can report any issues @ GitHub.

 


We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!

Join our Telegram channel and stay informed on the move.


Arindam

Creator of debugpoint.com. All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, or send us an email.
Subscribe
Notify of
guest

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

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x