Search Logs
search_logsSearch journal logs by pattern to find recent service errors or events. Filter by a specific unit and get the last 200 matching lines.
Instructions
Search journal logs for a pattern (grep -i). Optional unit filter. Returns last 200 matching lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Limit to this service unit | |
| pattern | Yes | Search pattern (case-insensitive) |