get_system_logs
Fetch recent Linux system logs from journalctl, filtering by unit, priority, or line count to troubleshoot system issues.
Instructions
Get recent system logs from journalctl (Linux only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Filter by systemd unit (e.g., 'docker', 'nginx') | |
| lines | No | Number of log lines to return (default: 50) | |
| priority | No | Minimum log priority level |