host_logs
Tail remote host logs by service, container, journal, or file, with optional time and regex filters to troubleshoot issues.
Instructions
Tail logs on a host. source: a service name (container stdout / systemd journal of the unit — e.g. remnanode, fail2ban, tailscaled), a log file name (remnanode.log = xray logs in /var/log/remnanode, auth, syslog, apt, install-*), or explicit unit:, container:, file:, journal (whole journal).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | extended regex, case-insensitive; applied before taking the last N lines | |
| host | Yes | host name from the inventory (fleet_hosts) | |
| lines | No | ||
| since | No | only newer entries (journal/containers): 30m, 2h, 1d | |
| source | Yes | service name, log name, unit:<u>, container:<c>, file:<path>, journal |