// THE PROBLEM
Observability tooling
broke the contract.
Modern tools charge per byte ingested and per day retained. Debug a production incident and get a $4,000 bill.
They store your production logs — and your users' data — in infrastructure you don't control.
LogHaven flips the model. The runtime is ours. The data is yours. Forever.
// WHAT IT DOES
Your agent is smart.
Your data should stay home.
Transaction-Centric
Every log, trace, and metric anchored to a transaction hash. One tx → full system context, across chains.
Cross-Chain Correlation
Link an Ethereum transaction to a Solana instruction to an off-chain API trace. Built for bridges and multi-chain apps.
Observability as Code
Define what to watch, when to watch it, and for how long. Version-controlled. Reproducible. Zero config drift.
AI Copilot — Your Data Stays Local
Explain failures, cluster errors, compare deploys. Works with local LLMs (Ollama) or hosted models — raw logs never leave your machine by default.
// USE CASES
Built for every layer
of the stack.
Debug anything. In minutes, not hours.
Trace a failed transaction, correlate on-chain failures with off-chain logs, and ask your local LLM what happened — without sending raw logs anywhere.
// PHILOSOPHY
We believe observability
should belong to you.
// TO BE CLEAR
LogHaven is NOT any of these things.
// ARCHITECTURE
One runtime.
Wired to everything.
A long-running daemon handles all ingestion. Your CLI, TUI, and dashboard talk to it via IPC — lightweight, crash-tolerant, and always on.
// GET STARTED
Install on any platform.
Running in under a minute.
LogHaven runs natively on Windows, macOS, and Linux. Install via your preferred method — package manager, shell script, or build from source with Cargo.
Use loghaven init --profile prod to create named profiles for different environments. Config files live in ~/.config/loghaven/ on Unix and %APPDATA%\loghaven\ on Windows.
// BRING YOUR OWN STORAGE
Your bucket.
Your rules.
LogHaven writes directly to storage you control. S3, R2, MinIO, or local disk. No raw data ever touches our infrastructure. Add lifecycle policies to auto-delete. Rotate keys anytime.
Zero egress fees. Global edge storage.
[storage] backend = "r2" bucket = "my-logs"
Battle-tested. Lifecycle policies built-in.
[storage] backend = "s3" bucket = "prod-logs" region = "us-east-1"
Self-hosted. Full S3 compatibility.
[storage] backend = "minio" endpoint = "http://minio:9000" bucket = "logs"
Fastest option. Zero config. Air-gapped.
[storage] backend = "local" path = "~/.loghaven/data"
// OBSERVABILITY AS CODE
Define it once.
Run it anywhere.
Declare observation rules in YAML. Commit them to your repo. The agent enforces them automatically. No dashboards to configure. No SaaS to log into.
// SECURITY & TRUST
Even if compromised,
we can't read your logs.
Data is encrypted before it leaves the agent. You hold the keys. We never see plaintext.