- type: file uses tail -F (handles rotation) with auto-format detection - _parse_lines dispatches to journald/servarr/qbit/caddy/syslog/plaintext based on first-line format detection — same logic as batch ingest - watch.yaml updated with file type docs and example-node-specific example - scripts/journal-bridge.sh + .service written directly to example-node Xander's watch.yaml covers: system-journal-live (via bridge file), sonarr, radarr, lidarr, prowlarr, bazarr, qbittorrent, nzbget, tautulli
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
# Turnstone live watch sources — entries here are tailed continuously.
|
|
# The watcher starts automatically when Turnstone starts.
|
|
#
|
|
# Source types:
|
|
# journald — system journal via `journalctl -f -o json` (requires journalctl in container)
|
|
# file — tail a log file by path (handles rotation; auto-detects format)
|
|
# docker — container logs via `docker logs -f --timestamps <container>`
|
|
# podman — container logs via `podman logs -f --timestamps <container>`
|
|
#
|
|
# For journald, optional args filter by unit:
|
|
# args: ["-u", "nginx", "-u", "sshd"]
|
|
#
|
|
# For docker/podman, args[0] is the container name (required).
|
|
#
|
|
# Leave this file empty (just the header) to disable live watching.
|
|
# Missing containers are skipped with a warning — safe to leave entries
|
|
# for services that are temporarily down.
|
|
|
|
sources: []
|
|
|
|
# ── Examples ────────────────────────────────────────────────────────────────
|
|
#
|
|
# - type: journald
|
|
# id: system-journal
|
|
#
|
|
# - type: journald
|
|
# id: sshd-journal
|
|
# args: ["-u", "sshd"]
|
|
#
|
|
# - type: podman
|
|
# id: podman:turnstone
|
|
# args: ["turnstone"]
|
|
#
|
|
# - type: docker
|
|
# id: docker:nginx
|
|
# args: ["nginx-proxy"]
|