get_journal_logs
Retrieve and filter systemd journal logs for troubleshooting Linux systems, enabling analysis of service behavior, errors, and system events with customizable parameters.
Instructions
Get systemd journal logs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Filter by systemd unit name or pattern | |
| priority | No | Filter by syslog priority level (0-7), name, or range | |
| since | No | Filter entries since specified time (absolute or relative) | |
| transport | No | Filter by journal transport (e.g., 'audit' for audit logs, 'kernel' for kernel messages, 'syslog' for syslog messages) | |
| lines | No | Number of log lines to retrieve. Default: 100 | |
| host | No | Remote host to connect to via SSH |