Kernel messages (dmesg) source read from /dev/kmsg
New source in Settings > Sources, off by default: reads the kernel ring buffer of the host through /dev/kmsg, dates records from the boot time and resumes after the last sequence number of the same boot (no duplicates on restart). Missing device or denied access is shown in the UI, retried every 10 s. docker-compose.yml and .env.example document the device and the kernel.dmesg_restrict / CAP_SYSLOG options. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b626b3b8db
commit
0beaa24f82
12 files changed
+948
-4
No files matched your search
@@ -53,3 +53,10 @@ DOCKER_BACKFILL=1h
|
||||
HOST_LOGS_GID=4
|
||||
# History read when the source is turned on (e.g. 30m, 1h, 24h; 0 = only new entries)
|
||||
HOST_LOGS_BACKFILL=1h
|
||||
# Kernel messages of the host (dmesg, enable them in Settings > Sources). The container needs
|
||||
# /dev/kmsg: uncomment "devices" in docker-compose.yml. When the host has
|
||||
# kernel.dmesg_restrict=1 (default on Debian/Ubuntu), either run on the host
|
||||
# sysctl -w kernel.dmesg_restrict=0 (persist it in /etc/sysctl.d/)
|
||||
# or run the container as root with the SYSLOG capability ("user" and "cap_add" in docker-compose.yml).
|
||||
# History read when the source is turned on (e.g. 30m, 1h, 24h; 0 = only new messages)
|
||||
DMESG_BACKFILL=1h
|
||||
Reference in new issue
Block a user