tail_site_logs
Read the most recent nginx access or error log lines to diagnose site issues. Use an optional domain substring to narrow results, with output capped at 1000 lines.
Instructions
Tail nginx's access or error log (capped at 1000 lines). domain is a best-effort substring filter, not a true per-vhost filter - see the result's note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Most recent lines to return, capped at 1000 | |
| domain | No | Best-effort substring filter over each log line - see the result's `note` for its limits | |
| log_type | Yes | Which nginx log to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present when a domain filter was applied, or when the read failed | |
| lines | Yes | ||
| success | Yes |