Skip to main content

List

List journal entries.

osapi client node log list

Examples​

osapi client node log list --target web-01
osapi client node log list --target web-01 \
--lines 50 --since 1h --priority err
osapi client node log list --target _all --lines 5

Flags​

FlagDescriptionDefault
--linesMaximum number of log lines to return100
--priorityFilter by priority level (e.g., 'err', 'warning', 'info')
--sinceReturn entries since this time (e.g., '1h', '2026-01-01 00:00:00')
--unitOnly entries from this systemd unit, such as ssh

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml
-T, --targetTarget: _all, _any, hostname, or label (group:web.dev)_all
--urlURL the client will connect tohttp://0.0.0.0:8080

Output tells how the result is printed, and what --json gives.