Migrate to Logchef
Logchef is a query and control-plane UI, not a log storage engine. “Migrating to Logchef” really means two things: re-pointing your log pipeline at a storage backend Logchef supports (ClickHouse or VictoriaLogs), and then using Logchef to explore, dashboard, and alert on what lands there. Your existing shippers usually need only a sink/output change, not a rewrite.
These guides walk through that move from the two most common log stacks:
Move off Elasticsearch/Kibana: re-point Logstash/Beats/Vector at ClickHouse, map ECS fields, translate KQL to LogchefQL and SQL.
From LokiMove off Loki/Grafana: re-point Promtail/Alloy at ClickHouse, turn labels into columns, translate LogQL to LogchefQL and SQL.
What actually changes
Section titled “What actually changes”- Ingestion: your shipper’s output changes (to a ClickHouse sink, or an Elasticsearch-compatible/native endpoint for VictoriaLogs). The input side — tailing files, scraping Kubernetes pod logs, receiving syslog — usually doesn’t need to change. See Shipping Logs with Vector.
- Schema: instead of a dynamic mapping (Elasticsearch) or a label set
(Loki), you define columns up front, with a
MaporJSONcolumn for free-form attributes. See Schema Design. - Query language: you write LogchefQL for everyday filtering (it compiles to SQL or LogsQL depending on the source), and drop into native SQL or LogsQL for aggregations the quick-filter syntax doesn’t cover.
- The UI: log explorer, field sidebar, dashboards, alerting, and saved queries/collections replace Kibana Discover or Grafana Explore for logs specifically. Logchef doesn’t replace Grafana for metrics or Kibana for full-text search products — it’s scoped to log analytics.
What doesn’t change
Section titled “What doesn’t change”Logchef has no ingestion pipeline of its own, so you keep whatever collector you already trust (Vector, Fluent Bit, the OpenTelemetry Collector, or Filebeat/Promtail if you’d rather keep them and just add a second output). Nothing about how logs are produced or collected has to move on day one — only where they land.
Before you start
Section titled “Before you start”Both guides assume you’re moving log storage to ClickHouse. If you’d rather keep a label-oriented, VictoriaMetrics-style backend, Logchef also supports VictoriaLogs as a datasource — closer in shape to Loki, but queried through LogsQL instead of LogQL.
Next steps
Section titled “Next steps”- From Elasticsearch
- From Loki
- Schema Design for the ClickHouse table shape
- Shipping Logs with Vector for the ingestion side