search_platform_logs
Search systemd journal logs for iTechSmart services to find errors, trace restarts, or view recent lines. Filter by keyword for targeted troubleshooting.
Instructions
Search live systemd journal logs for any iTechSmart service. Returns matching log lines from journalctl filtered by service name and optional keyword pattern. Use for real-time troubleshooting: find errors, trace restarts, check last N lines of any service.
Requires scope: infrastructure:logs:read. Every call governed by Arbiter constitutional policy and sealed with a ProofLink cryptographic receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of recent log lines to return (default: 100, max: 500) | |
| pattern | No | Optional grep pattern to filter lines (e.g. "ERROR", "timeout", "started") | |
| service | Yes | systemd service name (e.g. "itechsmart-api", "djuane-ai", "iself") |