ver_logs
Fetches recent log lines from Linux servers over SSH across systemd services, Docker containers, log files, or the system journal, with optional text/regex filtering and time-range selection.
Instructions
Últimas líneas de logs.
tipo: "servicio" (unidad systemd, ej. nginx), "docker" (nombre del contenedor), "archivo" (ruta, ej. /var/log/nginx/error.log) o "sistema" (journal completo). filtro: texto o regex para grep -iE. desde: solo para servicio/sistema/docker, ej. "1 hour ago" o "2026-10-28 08:00" (docker usa formato como "1h").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | Yes | ||
| desde | No | ||
| filtro | No | ||
| lineas | No | ||
| nombre | No | ||
| servidor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |