Dashboard: System Logs tab

ProxMenux Monitor · Dashboard~7 min

Three sub-tabs under one roof: the system journal (journalctl with filters), Proxmox task history, and the notification log. All three are searchable, filterable and downloadable as text bundles.

Read-only by design

Nothing on this tab modifies log files. Filters live in the URL / state, downloads are server-side bundles. The dashboard never deletes log entries — for housekeeping use the host's own journalctl --vacuum-time=<N> or logrotate.

Top row: four counters

  • Total Entries — number of log records inside the active filter window.
  • Errors — count of severity ≤ 3 (err / crit / alert / emerg).
  • Warnings — count of severity 4 (warning).
  • Backups: number of backup archives on the configured backup storages.

Three sub-tabs

Logs

The system journal, served by journalctl on the backend. Filters available in the toolbar:

  • Level: All levels, Error, Warning or Info.
  • Time range: 1 day / 3 days / 1 week / 2 weeks / 1 month, or a custom number of days (up to 90).
  • Free-text search: case-insensitive substring over message, service, PID, hostname and unit, applied in the browser.
  • Service filter: restrict to one service (the journal SYSLOG_IDENTIFIER).

Each row shows timestamp, severity badge, source unit and the message. Long messages collapse with a "show more" toggle. The Download action bundles the current filter into a single .txt file via GET /api/logs/download — useful when you want to share a slice of journal with someone.

Log Details modal

Clicking any row opens a Log Details modal with every structured field journald captured for that single entry — the same view you'd build by hand running journalctl --output=verbose on the host.

Log Details modal — single journal entry expanded with Level, Service, Timestamp, Source, Systemd Unit, Process ID, Hostname and the full Message
Log Details modal — every structured field journald carries for this entry, with the full untruncated message at the bottom. Useful for cron and service logs where the executed command line matters.

Fields shown:

  • Level — coloured severity badge (INFO / WARNING / ERROR / CRITICAL).
  • Service — short name of the unit / process that emitted the entry.
  • Timestamp — full date and time of the log line.
  • Source — origin of the entry (journal, kernel, audit, …).
  • Systemd Unit — the actual .service / .timer / .socket unit if the entry was associated with one.
  • Process ID — PID of the emitting process.
  • Hostname — useful when journals are forwarded across cluster nodes.
  • Message — the full untruncated message in a monospace block, ready to copy.

Journald MaxLevelStore

On a fresh Proxmox install, journald defaults to MaxLevelStore=warning, which silently drops info-level messages. The Monitor detects this on startup and adds a drop-in (/etc/systemd/journald.conf.d/proxmenux-loglevel.conf) raising the threshold to info so informational and more severe messages are stored. This does not include debug messages.

Backups

The backup archives on every backup-capable storage (dir, NFS, CIFS, PBS), read with pvesh get /nodes/localhost/storage/<id>/content. Cards at the top show the VM and LXC counts and the total size; below, one row per archive with type, storage, size and date. Restore lives in the Proxmox web UI.

Notifications

Proxmox notification activity: journal lines from Proxmox services that mention notifications, email, webhooks or alerts, the targets in /etc/pve/notifications.cfg, and backup tasks from the cluster task list. Backup task rows can download the full task log. The history of what the Monitor itself dispatched lives in Settings → Notifications → Notification history.

Use this tab to check what Proxmox's own notification system is doing. Monitor channel configuration lives in the Notifications deep page.

How the data is collected

Sub-tabEndpointSource
Logs (live filter)/api/logsThe tab requests /api/logs?since_days=N; level, service and text filters run in the browser. The API also accepts priority and service, which the tab does not use yet.
Download/api/logs/downloadSame query, returned as plain text for grep / less.
Backups/api/backupsBackup archives listed from each backup storage with pvesh get /nodes/localhost/storage/<id>/content.
Backup task log (Notifications)/api/task-log/<upid>Plain-text full task log read from /var/log/pve/tasks/<index>/<upid>.
Notifications/api/notificationsjournalctl --grep over Proxmox units, /etc/pve/notifications.cfg and backup tasks from pvesh get /cluster/tasks.

Both the live filter and the downloads are also reachable via the API:

# Last hour of errors and worse, with a keyword
curl -H "Authorization: Bearer <token>" \
  "http://<host>:8008/api/logs?severity=error&since=1h&search=zfs"

# Download the full journal of the last 6 hours as plain text
curl -H "Authorization: Bearer <token>" \
  -o pmx-journal.txt \
  "http://<host>:8008/api/logs/download?since=6h"

# Look up the full output of a specific task by UPID
curl -H "Authorization: Bearer <token>" \
  "http://<host>:8008/api/task-log/<upid>"

Where to next

  • Health Monitor — the System Logs category that watches for persistent / spike / cascade patterns.
  • Notifications — the journal watcher reads the same source and turns matches into notifications.
  • API Reference — the logs and task-log endpoints with their query parameters.
  • Dashboard index — the other tabs.