Forward Home Assistant core logs and bus events to OpenObserve using a HACS custom integration.
Optional: Home Assistant OpenObserve Log Shipper (Supervisor add-on) for home-assistant.log file shipping.
| Stream | Source |
|---|---|
home_assistant_logs |
Core / system logs |
home_assistant_events |
Lifecycle, state changes, service calls |
Streams are created on first ingest.
- HACS → Integrations → ⋮ → Custom repositories
- Add
https://github.com/Shaffer-Softworks/Openobserve(or use default HACS store after inclusion) - Install OpenObserve and restart Home Assistant
- Settings → Devices & services → Add integration → OpenObserve
- Base URL (e.g.
http://10.20.0.54:5080orhttp://openobserve:5080on Docker), orgdefault, credentials, stream names
Download the latest release zip, extract it, and move the openobserve folder into custom_components/ in your Home Assistant config.
Maintainers publish versions from Actions → Create release (workflow dispatch). The workflow:
- Bumps
custom_components/openobserve/manifest.json - Pushes branch
release/vX.Y.Zand tagvX.Y.Z - Attaches
openobserve.zipfor HACSzip_release - Opens a PR to merge the manifest bump into
main
Optional repo secret WORKFLOW_TRIGGER_TOKEN (PAT with contents, pull_requests, and actions) avoids stuck PR checks when GitHub suppresses workflows triggered by GITHUB_TOKEN.
- Minimum log level, event toggles, exclude globs (
sensor.*) - Batch size (default 50), flush interval (default 5 seconds)
openobserve.flush — force-send buffered records.
Records sent, last flush, last error.
export ZO_ROOT_USER_PASSWORD='your-password'
./deploy/docker/run.sh- OpenObserve: http://localhost:5080
- Home Assistant: http://localhost:8123
- Integration URL:
http://openobserve:5080(notlocalhost)
See deploy/portainer/docker-compose.ha-test.yml for a combined compose file.
SELECT * FROM home_assistant_logs ORDER BY _timestamp DESC LIMIT 10SELECT * FROM home_assistant_events ORDER BY _timestamp DESC LIMIT 10docker run --rm -v "$(pwd):/github/workspace" ghcr.io/home-assistant/hassfestDashboard Icons — open-observe (homarr-labs/dashboard-icons, Apache-2.0).
MIT (integration code). Icon assets: Apache-2.0 per Dashboard Icons.