All your homelab logs.
One container.
Collect logs from Docker hosts, UDP/TCP syslog, and HTTP. Fast SQLite full-text search, Apprise alerts, and optional AI diagnosis.
See What Your Lab Is Logging
Live logs from every device in your lab, filtered by host or severity, in one console.
What LogShed Does
For home servers, routers, NAS appliances, and Docker hosts. No external database and no agents to install.
Live Stream & Full-Text Search
Watch logs arrive live, then search weeks of history in milliseconds. Filter with shorthand like error or 24h, click the log volume chart to zoom in, open JSON logs as a tree, and download a search as CSV or NDJSON.
Syslog for Routers, NAS & Hypervisors
Collect UDP or TCP syslog from OPNsense, pfSense, Proxmox, UniFi, Synology, or any Linux host, with friendly host aliases and when each one last sent a log.
Multi-Host Docker & HTTP Ingest
Tail containers locally or across remote hosts via socket, socket proxy, or TLS. Scripts, Vector, and Fluent Bit can push logs over HTTP.
Noise Control at the Door
Drop cron chatter, health checks, and debug spam in memory before they hit your SSD. Start from presets or create a rule from any log line.
Alerts & Daily Digest
Catch error bursts, rate spikes, and SSH brute force via ntfy, Discord, Telegram, Pushover, or 100+ Apprise targets. Limit a rule to some hosts, match plain text or regex, and check it against the last 24 hours before saving. Plus a daily summary and incident timeline.
Maintenance Windows
Silence alerts or drop error logs during backups and upgrades, for every source or only one host or app, from the console, schedules, Home Assistant, or the API.
Optional AI Diagnosis
Off until you add a provider. Run root-cause analysis and follow-ups with local Ollama/LM Studio, Gemini, OpenAI, Claude, or OpenRouter, with each model's price in a searchable list. Secrets are masked first (best-effort).
REST API, MCP & Storage Control
Scoped Bearer tokens and an optional built-in MCP server for AI assistants. Logs go in one file per day (~52 MB per 100k logs), so retention frees space at once, and the database is backed up before an upgrade changes it. Export the whole configuration to move it to another server.
See LogShed in Home Assistant
Error counts, a problem sensor for alerts, and a maintenance switch for your backup automations.
What you get
- Log sensors: ingestion rate, hourly/daily error counts with top apps and hosts, and severity breakdowns.
- Alert State: binary problem sensor that turns on when any alert rule fires in the last 15 minutes.
- Maintenance: Quick Maintenance switch and actions to start or end windows around backups.
- Diagnostics & controls: database size, free disk space, lost logs, Prune/Vacuum buttons, and release update entity.
- Sources & server health: which source has been silent longest, when the newest backup was made, and whether LogShed is running, upgrading its database, or waiting in recovery (integration 1.1.0 with LogShed 1.4.0).
Set up
Install LogShed from the Home Assistant Marketplace (2026.11+) or HACS, then connect using a Home Assistant preset token from Settings > API & MCP Access.
Needs Home Assistant 2024.12.0 or later and LogShed 1.3.0 or later (1.4.0 for the source and backup sensors and the upgrade states). Integration version 1.1.0.
How LogShed Compares
Dozzle, Grafana Loki, and Graylog are good tools. Here is what each asks of a homelab.
| Feature | LogShed | Dozzle | Loki + Grafana | Graylog OpenSSPL, source-available |
|---|---|---|---|---|
| Containers for a minimal setup | 1 | 1 | 3: Loki, Grafana, and a collector (Alloy) | 3: Graylog, Data Node, and MongoDB |
| Typical RAM | About 240 MB | Not stated | Not stated for a single node | Not stated. The docs advise JVM heaps of about half of RAM |
| Keeps log history | Yes, 14 days by default, and you can change it | No. It reads live from Docker and shows what Docker still holds | Yes, with configurable retention | Yes, with index rotation and retention |
| Full-text search | Yes, over all stored history | Only over what Docker still holds | Indexes labels, not log text. Text search scans the matching streams | Yes, indexed search |
| Syslog server | Yes, UDP and TCP | No. Docker logs only | Not in Loki. Alloy can receive syslog | Yes, syslog inputs |
| Alerting | Alert rules, sent to 100+ services through Apprise | Yes. Log, metric, and event alerts through webhooks | Yes, through the Loki ruler or Grafana alerting | Yes, event definitions with notifications. Some types are in paid editions |
| Home Assistant integration | Yes, through the Home Assistant Marketplace or HACS | Community add-ons only | Community add-ons only | None found |
| AI diagnosis | Optional, with secrets masked before sending (best-effort) | Optional MCP server. The assistant is only in the hosted Dozzle Cloud | None found | MCP server access for your own LLM |
| Setup | One Compose file | One container. Multiple hosts need agents | Loki and Alloy configs to write, and LogQL to learn | Three containers and a host kernel setting (vm.max_map_count) |
Checked on 21 October 2026 against the documentation for Dozzle 11.3, Loki 3.7 with Alloy 2.0, and Graylog 7.2. Things change, so check each project before you decide. Dozzle is a good fit if you only need live Docker logs. LogShed is built for homelabs, not for multi-tenant or high-throughput setups.
Private by Design
No telemetry. LogShed contacts the internet only in the cases below, and you control each one.
What can leave your network
- Update check: asks ghcr.io for the latest release only when the console or Home Assistant asks for the version, not on a timer. It sends nothing about your instance. Turn it off with Check for new versions in Settings.
- AI providers: only if you add one: when you run an analysis, an alert with AI enrichment fires, or you refresh the model list.
- Notifications: only to the Apprise targets you add.
- Docker hosts: only the ones you add.
- The web interface makes no third-party requests.
Hardening
- Passwords are hashed with Argon2id, and login attempts are rate limited. Signing out ends every session at once.
- API tokens are scoped and can be revoked at once. The MCP server is off by default.
- AI keys, notification URLs, and Docker TLS keys are encrypted at rest.
- Passwords, keys, and tokens are masked before text goes to an AI provider (best-effort safety net, not a guarantee).
- Rule patterns are time-limited, so a bad one cannot freeze LogShed.
- A strict Content-Security-Policy on every page.
- Refuses to run as root, and runs without the Docker socket through a read-only socket proxy.
Up and Running in Minutes
One container, no external database. Point /data at a local SSD path and open port 8080. Needs Docker Engine 24.0 or later.
services:
logshed:
image: ghcr.io/logshed/logshed:latest
container_name: logshed
restart: unless-stopped
ports:
- "8080:8080" # Web Dashboard and REST API
- "1514:1514/udp" # Syslog UDP Ingestion
- "1514:1514/tcp" # Syslog TCP Ingestion
environment:
- PUID=1000
- PGID=1000
# Set TZ to your own time zone (for example Europe/London or America/New_York).
# LogShed uses it for syslog timestamps that carry no zone, maintenance schedules and the daily digest.
- TZ=UTC
- PORT=8080
- SYSLOG_PORT=1514
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
Common Questions
What is LogShed and how does it compare to Dozzle, Grafana Loki, and Graylog?
LogShed is a log server for homelabs that runs as one container. Dozzle is a good live viewer for Docker logs, but it does not keep history or receive syslog. Grafana Loki and Graylog keep history, but each needs several services with their own configuration. LogShed does all three in one container: it keeps history, searches the full text and receives syslog, using about 240 MB of RAM.
What log sources can send logs to LogShed?
Docker containers on this host and any other Docker hosts you add. Syslog over UDP or TCP from OPNsense, pfSense, Proxmox VE, UniFi, Synology DSM, Home Assistant, and Linux hosts. And HTTP, from Vector, Fluent Bit, and your own scripts.
Do I need an AI provider, and which models are supported?
No. AI is off until you add a provider, and everything else works without it. When enabled, LogShed supports Google Gemini, OpenAI, Anthropic Claude, OpenRouter, and any OpenAI-compatible service such as Ollama, LM Studio, or vLLM. Passwords, keys, and tokens are masked before a prompt is sent (best-effort), and on-demand requests show you the prompt first.
Does LogShed send any data to the internet?
No telemetry. The only built-in outbound call is an optional check for new releases on ghcr.io, which sends nothing about your instance and can be turned off in Settings. AI providers, notification targets, and other Docker hosts are contacted only if you add them.
How do upgrades and backups work?
Pin an image tag and change it when you choose. From 1.4.0, an upgrade that changes the database backs it up first (on by default), shows its progress in the web interface, and waits in recovery mode instead of exiting if it cannot finish. The Storage page lists the backups, makes one on demand, and downloads or deletes them, and the restore command puts one back. The backup made before the upgrade from 1.3.x leaves out the stored logs: to be able to go back to 1.3.x with your logs, copy /data yourself before updating.
Explore the Repository
Setup guides and reference docs live in the GitHub repository.
Forwarding Logs Guide
Syslog (UDP/TCP) for OPNsense, Proxmox VE, Synology DSM, UniFi, pfSense, and HTTP ingest.
Configuration Reference
Every environment variable and setting, plus backups, restores, and going back to an older version.
Alert & Drop Rules Guide
Alert rules, drop rules, presets, and examples.
Model Context Protocol (MCP) Guide
Connect Claude Desktop, Cursor, and other AI assistants to your logs.
API Token Scopes & REST Spec
What each token scope allows (interactive API docs are built in at /docs).
Home Assistant Integration
Install through the Marketplace or HACS, entities, and example automations.
Technical Specification
How LogShed works inside: architecture, database, and security.
Changelog & Upgrade Notes
Release history and the 1.3.x to 1.4.0 upgrade notes (read them before updating).
Built with: Python 3.14 (asyncio), FastAPI, SQLite WAL + FTS5, React 19, Tailwind CSS 4, Apprise (100+ Notification Targets), and optional Gemini / OpenAI / Claude / OpenRouter / Ollama.