Skip to content

Web UI: System Settings, Diagnostics & Live Logs Console ​

The Settings & Administration panel provides system administrators with real-time diagnostic tools, live log consoles, user management, and disaster recovery utilities.


1. Server Diagnostics & Resource Utilization ​

The diagnostics card presents live Go runtime telemetry:

  • Memory Footprint: Process RSS, heap allocation, and garbage collection frequency.
  • Goroutine Counter: Active goroutines monitor for leak detection.
  • Disk Headroom Bar: Visual progress bar showing remaining disk space on the recording volume and time remaining until FIFO retention triggers.

2. Live SSE Log Stream Console ​

The built-in log viewer streams structured JSON logs in real time using Server-Sent Events (SSE):

  • Live Filtering: Filter logs by level (DEBUG, INFO, WARN, ERROR).
  • Full-Text Search: Search log messages by camera ID, IP address, or error keywords.
  • Pause & Resume: Pause the auto-scrolling log stream to inspect specific error stack traces.

3. User & RBAC Management ​

  • Add new operators or viewers without restarting the server.
  • Reset passwords securely using bcrypt hashing.
  • Assign permissions based on role definitions (admin, operator, viewer).

4. One-Click Backup & Restore Center ​

  • Download Snapshot: Generates an atomic JSON snapshot of the entire BadgerDB database and downloads it to your computer.
  • Restore from File: Upload a previous snapshot file to recover full system configuration and camera topologies after hardware replacement.

Released under the MIT License.