synergyspot.blogg.se

Lnav log
Lnav log











lnav log

histograms and SQL results) to the pure display of log lines over time. The main part is also used to display other information additional (e.g. Various colors to highlight different aspects, depending on the detected log line format. If a colored display is available, the following colors will be used for highlighting: The new log lines are continuously appended at the bottom of the display. The central main part of the display shows log lines sorted by time of day. inspect log entries generated by journalctl | lnav Display

lnav log

In this example jump to the line number 10 of the log file lnav -c ':goto 10' /var/log/syslogĪutomatically execute internal lnav commands stored in commands-file.txt upon lnav -f commands-file.txt /var/log/syslogįeed log data to lnav in a pipe in order to e.g. Load log files from a specific directory or matching a file name pattern for lnav /var/log/nginx/ lnav /var/log/nginx/error*.log*Īutomatically execute an internal lnav command upon execution.

lnav log

Load one or more specific log files for lnav /var/log/nginx/access.log /var/log/nginx/error.log Load older, already rotated log files for inspection as lnav -r Watch the upper right display of the current file name as you scroll through the messages in order to determine from which particular log file the current line was lnav -a Load all the most recent known log files from the current working directory and from the directory /var/log/ for inspection. Load the most recent syslog file ( /var/log/syslog) for lnav -s













Lnav log