search_platform_logs
Search live systemd journal logs to troubleshoot iTechSmart services: find errors, trace restarts, and inspect recent output by service and pattern.
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") |