loki_tail_container
Tail and retrieve recent log lines for a single container, with optional minutes and filter. Automatically resolves container names via fuzzy matching.
Instructions
Tail the most recent log lines for a single container.
container: Container name (e.g. nginx, traefik, arr-sonarr).
Exact names work best; an unknown name is resolved against
live container names (service vocabulary like vpn works) —
a unique match is tailed automatically and flagged in the
output, otherwise candidate names are returned.
minutes: How far back to look. Default 15.
limit: Max lines to return. Default 200.
filter: Optional substring filter applied as LogQL |= "filter".
Case-sensitive. Leave empty for no filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | ||
| minutes | No | ||
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |