The Logchef Blog
Guides and field notes on ClickHouse, VictoriaLogs, and getting real answers out of your logs.
Grafana Loki UI and Log Analytics in v2.8
Logchef v2.8.0 adds Grafana Loki as a third backend beside ClickHouse and VictoriaLogs, LogchefQL aggregations, per-group alerts, an audit log of query runs, and a rebuilt Query Activity page.
Read postLet Your AI Agent Query Your Logs
Logchef serves an MCP endpoint at /mcp. Connect Claude Code, Codex, Cursor, Claude.ai or ChatGPT with OAuth and let the agent read schemas, run LogchefQL and investigate errors in ClickHouse, VictoriaLogs and Grafana Loki.
Log Dashboards Without Grafana
Logchef dashboards chart the log queries you already run over ClickHouse, VictoriaLogs and Grafana Loki: stats, time series, breakdowns and tables on one grid, with no extra service.
A Team UI for VictoriaLogs
vmui works well for one engineer running LogsQL. Logchef adds teams, scoped sources, saved queries, dashboards, live tail, and alerting on top of your existing VictoriaLogs.
Debug NGINX 5xx Errors with ClickHouse
Query nginx access logs in ClickHouse when 5xx errors spike: live-tail the burst, narrow with LogchefQL, then pivot to SQL to find the bad host and endpoint.
OpenTelemetry Logs in ClickHouse
Exporting OTel logs to ClickHouse solves storage, not search. Logchef adds a query UI, field explorer, and alerting over your existing otel_logs table.
Self-Hosted Log Analytics with ClickHouse
ClickHouse wins on log cost and speed. Logchef adds the query UI, RBAC, and alerting to run it self-hosted. An honest tradeoff breakdown.