journal
Read systemd log entries oldest-first with read-only access, filtering by unit, time range, priority, or message regex to inspect and triage service issues.
Instructions
Journal entries, oldest first, reduced to an allowlist of fields. Read-only.
Filters: unit, since and until (such as '2026-10-03 12:00' or '-1h'), priority (such as 'err' or 'warning..crit'), grep (a regular expression on MESSAGE), lines (default 100, at most 1000). Secrets are redacted; text is capped at 4096 bytes per value and 65536 bytes in all, and a cut ends in [TRUNCATED] and sets truncated to true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| unit | No | ||
| lines | No | ||
| scope | Yes | ||
| since | No | ||
| until | No | ||
| priority | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| scope | Yes | ||
| entries | Yes | ||
| truncated | Yes |