Last Updated on May 22, 2022
In no particular order, the software also offers the following:
- Headless mode – use lnav’s log processing features in your own scripts.
- Supports tab-completion for almost all operations.
- Built-in log message parser can automatically discover and extract interesting data from plainly formatted log messages.
- Add comments and tags to log lines.
- Mark lines with ‘m’ and then press ‘c’ to copy the marked lines to the clipboard.
- Pretty-print view reformats structured data, like XML or JSON, so that it’s easier to read.
- Dynamic log line table – log formats that lack message structure, lnav can parse the log message and attempt to extract any data fields that it finds.
- Carefully considered keyboard shortcuts.
- Mouse support – use the mouse to mark lines of text and move the view with the scrollbar.
- Papertrail integration.
- Cross-platform support – runs under Linux and Mac OS X.
lnav supports a wide range of log message formats.
|Log Formats built into lnav
|Common Access Log
|Default web access log format for servers like Apache
|Amazon ALB log
|Log format for Amazon Application Load Balancers
|VMware vSphere Auto Deploy log format
|Log format for the VMware Auto Deploy service
|Generic format for logs, like cron, that have a date at the start of a bloc
|Candlepin log format
|Log format used by Candlepin registration system
|Yum choose_repo Log
|Log format for the yum choose_repo tool
|CUPS log format
|Log format used by the Common Unix Printing System
|Debian dpkg log
|Amazon ELB log
|Log format for Amazon Elastic Load Balancers
|Log format for the engine.log files from RHEV/oVirt
|Common Error Log
|Default web error log format for servers like Apache
|Log for the fsck_hfs tool on Mac OS X
|Google glog format
|Java log format
|Log format used by log4j and other Java software
|journalctl JSON log format
|Logger format as created by systemd journalctl -o json
|Katello log format
|Log format used by Katello and Foreman
|OpenAM identity provider
|OpenAM Debug Log
|Debug logs for the OpenAM identity provider
|OpenStack log format
|Log format for the OpenStack log files
|CUPS Page Log
|CUPS server log of printed pages
|Log format for the papertrail log management service
|SnapLogic Server Log
|SnapLogic server log format
|SSSD log format
|Log format used by the System Security Services Daemon
|strace output format
|sudo privilege management tool
|system logger format found on most POSIX systems
|Target Communication Framework log
|tcsh history file format
|uwsgi log format
|Vdsm log format
|VMKernel’s log format
|VMware’s ESXi and vCenter log format
|RHN server XMLRPC log format
|Generated by Satellite’s XMLRPC component
Compressed files (gz and bzip2) are automatically detected and decompressed on-the-fly.
The software helps filter out the noise.
Complete list of articles in this series:
|Encrypt files using the Advanced Encryption Standard
|Shell daemon created to manage processes’ IO and CPU priorities
|Next gen tree explorer and customizable launcher
|Fast application launcher
|Community driven unified cheat sheet
|Advanced clipboard manager
|Securely transfer files and folders from the command-line
|Live streaming your desktop to a web browser
|Disk usage utility with more polished presentation than the classic df
|A turbo-charged alternative to the venerable ls command
|Browse, install and manage GNOME Shell Extensions
|Wonderful alternative to the venerable find
|Kill processes quick and easy
|Quickly search and preview fonts
|File splitter with encryption and redundancy
|Simple screen recorder
|Document viewer for a wide variety of file formats
|A simple yet effective image optimization tool
|Style and grammar checker for 30+ languages
|Adaptive prompt for Bash & Zsh
|Advanced log file viewer for the small-scale; great for troubleshooting
|Like exa, lsd is a turbo-charged alternative to ls
|Simple and elegant Markdown editor
|Navigate through your bash shell history
|Formatted and highlighted view of Markdown files
|Monitors a command or process and triggers a notification
|Flexible cross-platform shell with a modern feel
|GPU process management for NVIDIA graphics cards
|Add OCR text layer to scanned PDFs
|Oh My Zsh
|Framework to manage your Zsh configuration
|Designed to simplify the management of your paperwork
|Generate, analyze, convert and manipulate colors
|PDF Mix Tool
|Perform common editing operations on PDF files
|Simple interactive filtering tool that's remarkably useful
|Recursively search directories for a regex pattern
|Sketch and take handwritten notes
|Display and control Android devices
|Simulates the traditional “sticky note” style stationery on your desktop
|Simplified and community-driven man pages
|A terminal multiplexer that offers a massive boost to your workflow
|An unofficial Evernote client with bags of potential
|Sublime application launcher
|Track the time spent on projects
|Self-hosted and privacy-focused metasearch engine
|Terminal workspace with batteries included