Welcome to lnav’s documentation!¶ The Log File Navigator (lnav) is an advanced log file viewer for the console. If you have a bunch of log files that you need to look through to find issues, lnav is the tool for you. Contents: Introduction Downloads Viewing Logs Setup Development User Interface Top Status Bar Breadcrumb Bar Configuration Panels Bottom Status Bar Prompt Views Mouse Support (v0.12.2+) Hotkey Reference Global Spatial Navigation Chronological Navigation Breadcrumb Navigation Bookmarks Display Session Query Prompts Customizing Command Line Interface File Viewing Mode Management Mode (v0.11.0+) Environment Variables Examples Usage Basic Controls Viewing Files Searching Filtering Search Tables Taking Notes Sharing Sessions With Others Cookbook Log Formats Annotating Logs Log Analysis Configuration Options Theme Definitions Keymap Definitions Log Handling Tuning Log Formats Built-in Formats Defining a New Format Format Order When Scanning a File Automatic File Conversion Sessions Commands I/O Commands Reference SQLite Interface PRQL Support (v0.12.1+) Log Tables Extensions Commands Variables Environment Collators Reference SQLite Tables Reference environ fstat(<path|pattern>) lnav_events lnav_file lnav_file_metadata lnav_user_notifications lnav_views lnav_views_echo lnav_view_files lnav_view_stack lnav_view_filters lnav_view_filter_stats lnav_view_filters_and_stats all_logs http_status_codes regexp_capture(<string>, <regex>) Events (v0.11.0+) Trigger Example Reference Extracting Data Recognized Data Types How It Works Internal Architecture Frequently Asked Questions Q: How can I copy & paste without decorations? Q: How can I force a format for a file? Q: How can I search backwards, like pressing ? in less? Q: Why isn’t my log file highlighted correctly? Q: Why isn’t a file being displayed? Indices and tables¶ Index Module Index Search Page