- Rename patterns/sources-example-node.yaml → patterns/sources-example.yaml and update header/comments to be host-agnostic - Replace internal node names in gen_corpus.py _HOSTS with generic names - Replace example-node hostname in syslog test fixtures with testhost - Replace example-node example in mcp_server.py doc with myserver - Replace private LAN IP (<YOUR_HOST_IP>) in docker-standalone.sh with <HEIMDALL_LAN_IP> placeholder - Replace private IPs in sources-cluster.yaml comments with <YOUR_HOST_IP> - Remove instance-specific hostname from llm.py fallback comment - Replace Caddy example domain in podman-standalone.sh with placeholder
50 lines
2.3 KiB
YAML
50 lines
2.3 KiB
YAML
# Turnstone log sources — example node (Docker/Podman, self-hosted media stack)
|
|
#
|
|
# Copy this file to your patterns directory and edit for your setup.
|
|
# Container paths: /opt and /var/log are bind-mounted read-only.
|
|
# journal-export.jsonl is written to /data/ by export_journal.sh (run via cron before glean).
|
|
#
|
|
# Add or remove sources freely. Missing paths are skipped with a warning.
|
|
|
|
sources:
|
|
# ── System ────────────────────────────────────────────────────────────────
|
|
# Requires: cron job to run export_journal.sh before each glean.
|
|
# Example cron (every 15 min — edit paths for your install):
|
|
# */15 * * * * /opt/turnstone/scripts/export_journal.sh \
|
|
# /opt/turnstone-data/
|
|
- id: system-journal
|
|
path: /data/journal-export.jsonl
|
|
|
|
- id: dmesg
|
|
path: /data/dmesg-export.txt
|
|
|
|
# ── Servarr stack ─────────────────────────────────────────────────────────
|
|
- id: sonarr
|
|
path: /opt/sonarr/config/logs/sonarr.0.txt
|
|
|
|
- id: radarr
|
|
path: /opt/radarr/config/logs/radarr.0.txt
|
|
|
|
- id: bazarr
|
|
path: /opt/bazarr/config/log/bazarr.log
|
|
|
|
- id: prowlarr
|
|
path: /opt/prowlarr/config/logs/prowlarr.0.txt
|
|
|
|
# ── Media server / tracking ────────────────────────────────────────────────
|
|
- id: tautulli
|
|
path: /opt/tautulli/config/logs/plex_websocket.log
|
|
|
|
# ── Download automation ────────────────────────────────────────────────────
|
|
- id: autoscan
|
|
path: /opt/autoscan/config/autoscan.log
|
|
|
|
# ── Web / proxy ────────────────────────────────────────────────────────────
|
|
- id: organizr-nginx
|
|
path: /opt/organizr/log/nginx/error.log
|
|
|
|
- id: organizr-app
|
|
path: /opt/organizr/www/organizr/server.log
|
|
|
|
- id: nextcloud-nginx
|
|
path: /opt/nextcloud/config/log/nginx/error.log
|