Log Viewer Screen

System and application log browsing with search, follow, and download.


Layout

+------------------------------------------------------------------+
|  Log Viewer                                                      |
+------------------------------------------------------------------+
|  ┌────────────┐  ┌────────────────────────────────────────────┐ |
|  │ Log Files  │  │  nexuspanel.log (1.2 MB)                   │ |
|  ├────────────┤  │  ┌──────────────────────────────────────┐  │ |
|  │ nexuspanel │  │  │ 2026-07-28 12:00 INFO  Server started │  │ |
|  │ access     │  │  │ 2026-07-28 12:01 INFO  GET /api/...  │  │ |
|  │ nginx      │  │  │ 2026-07-28 12:02 ERROR Connection... │  │ |
|  │ postgres   │  │  │ 2026-07-28 12:03 INFO  Request done  │  │ |
|  │            │  │  └──────────────────────────────────────┘  │ |
|  │ Search:    │  │                                            │ |
|  │ [________] │  │  [Follow] [Download] [Clear]              │ |
|  └────────────┘  └────────────────────────────────────────────┘ |
+------------------------------------------------------------------+

Features

FeatureDescription
Log File ListAll /var/log files with size/date
CategoriesApplication, web, database, system
Log ViewerMonospace viewer with line numbers
SearchFull-text search with regex support
FollowLive-tail via SSE streaming
DownloadDownload log file
Line CountTotal lines in file

Event Delegation

Buttons use data-log-action attributes.


CSS Classes

ClassPurpose
.log-sidebarFile list sidebar
.log-viewerLog content viewer
.log-searchSearch bar
.log-followFollow mode indicator

API Calls

MethodEndpointPurpose
GET/api/logsList log files
GET/api/logs/tail/:fileTail log
GET/api/logs/search/:fileSearch log
GET/api/logs/stream/:fileSSE stream
GET/api/logs/download/:fileDownload
GET/api/logs/linecount/:fileLine count

Part of NexusPanel Documentation

← Back to Documentation