logs.html

logs.html — System log component

Description

<iframe src="http://127.0.0.1:9090/cockpit+app/@localhost/system/logs.html"
    width="600" height="400"></iframe>

This is a Cockpit component that brings up system log viewer, with filtering capabilities. On systemd based systems this displays the entries from journal.

Component URL

/cockpit+app/@localhost/system/logs.html

Filter by priority

#?prio=5

Filters the log to show entries below the specific priority, inclusive. These priorities are syslog levels. Specifying * as a priority will show all available entries. The default priority is 3.

Filter by service

#?service=sshd.service

Filters the log to show entries related to the specific service. The format of the service is specific to the logging implementation. For journald these are systemd service unit names.

Filter by tag

#?tag=kernel

Filters the log to show entries related to the specific syslog identifier.

Start at point

#?start=boot

Filters the log to show entries after the specific point in time. Valid values are boot (since last boot), last-24h (last 24 hours), last-week (last seven days).

Show log entry

#/6e272d82993c4e0d...

To show a specific log entry, put the log entry cursor in a path after the hash above. Note that cursors are logging system specific, and journal cursors are subject to change.