tail_log
Tail log files or systemd unit journals on remote hosts. Use grep patterns to isolate relevant lines for troubleshooting.
Instructions
Tail a log file or a systemd unit's journal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | Only return lines matching this pattern | |
| host | Yes | Configured host name | |
| lines | No | How many trailing lines to return | |
| source | Yes | Log file path, or 'unit:<name>' for a systemd unit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |