Solutions · Observability
Logs and metrics on a database you can afford.
ClickHouse is the storage layer beneath ClickHouse's own observability products and several major SaaS vendors. Run it yourself on Luceris and pay for hardware, not seats.
Why ClickHouse for observability
Observability data is append-mostly, time-ordered, and bursty — exactly the shape ClickHouse is optimized for. Compression ratios on JSON logs typically exceed 10×; partitioning by day makes retention enforcement a metadata drop instead of a delete-storm. You wire log shippers (Vector, Fluent Bit, OpenTelemetry Collector) at ClickHouse via HTTP or the native protocol — no proprietary agent required.
Partition by day
S3-backed cold tier
Compression that matters
Works with the agents you already run
Code sample
# vector.yaml
sources:
app_logs:
type: file
include: ["/var/log/app/*.log"]
read_from: end
transforms:
parse_json:
type: remap
inputs: [app_logs]
source: |
. = parse_json!(.message)
.ts = parse_timestamp!(.timestamp, "%+")
sinks:
clickhouse:
type: clickhouse
inputs: [parse_json]
endpoint: https://obs-abc.eu.luceris.cloud/clickhouse
auth:
strategy: basic
user: app
password: ${LUCERIS_PASSWORD}
database: logs
table: events
compression: gzipSchema sketch
A typical logs table: `(ts DateTime, service LowCardinality(String), level LowCardinality(String), trace_id String, msg String, attrs JSON)`. Partition by `toYYYYMMDD(ts)`. Order by `(service, ts)` for service-scoped queries. TTL the partition after 30 days to S3, after 365 days to delete. Add a materialized view that downsamples to per-minute counts for fast dashboards.
Examples
- Application logs — structured JSON from your services
- Access logs — high-volume web request logs with low per-row cost
- Metrics — Prometheus remote-write into ClickHouse via the OpenMetrics receiver
- Distributed tracing — trace spans with their attribute bags
- Audit logs — long-retention, low-volume, compliance-grade query trail
Frequently asked questions
Can ClickHouse replace my SIEM?
How do I handle high cardinality?
What about real-time log tailing?
Stop paying per-GB for logs you can store yourself.
Free tier ClickHouse cluster gives you 10 GB compressed — about 100 GB of typical JSON logs.